Commit 2a7d9ffa1543875d344f6c19eb635d4fa903b919
1 parent
5e306d8d
no message
Showing
8 changed files
with
21 additions
and
7 deletions
CNLiveSettingModule.podspec
| @@ -121,6 +121,9 @@ TODO: 网家家-设置模块. | @@ -121,6 +121,9 @@ TODO: 网家家-设置模块. | ||
| 121 | # 服务层 | 121 | # 服务层 |
| 122 | s.dependency 'CNLiveServices' | 122 | s.dependency 'CNLiveServices' |
| 123 | 123 | ||
| 124 | + # 基类 | ||
| 125 | + s.dependency 'CNLiveCommonClass' | ||
| 126 | + | ||
| 124 | # 环境库 | 127 | # 环境库 |
| 125 | s.dependency 'CNLiveEnvironment' | 128 | s.dependency 'CNLiveEnvironment' |
| 126 | 129 |
CNLiveSettingModule/Classes/AboutUs/CNLiveAboutUsController.h
| @@ -11,10 +11,11 @@ | @@ -11,10 +11,11 @@ | ||
| 11 | */ | 11 | */ |
| 12 | 12 | ||
| 13 | #import <UIKit/UIKit.h> | 13 | #import <UIKit/UIKit.h> |
| 14 | +#import "CNCommonViewController.h" | ||
| 14 | 15 | ||
| 15 | NS_ASSUME_NONNULL_BEGIN | 16 | NS_ASSUME_NONNULL_BEGIN |
| 16 | 17 | ||
| 17 | -@interface CNLiveAboutUsController : UIViewController | 18 | +@interface CNLiveAboutUsController : CNCommonViewController |
| 18 | 19 | ||
| 19 | @end | 20 | @end |
| 20 | 21 |
CNLiveSettingModule/Classes/BackgroundImage/CNLiveBackgroundImageController.h
| @@ -11,11 +11,12 @@ | @@ -11,11 +11,12 @@ | ||
| 11 | */ | 11 | */ |
| 12 | 12 | ||
| 13 | #import <UIKit/UIKit.h> | 13 | #import <UIKit/UIKit.h> |
| 14 | +#import "CNCommonViewController.h" | ||
| 14 | 15 | ||
| 15 | NS_ASSUME_NONNULL_BEGIN | 16 | NS_ASSUME_NONNULL_BEGIN |
| 16 | @class IMAUser; | 17 | @class IMAUser; |
| 17 | 18 | ||
| 18 | -@interface CNLiveBackgroundImageController : UIViewController | 19 | +@interface CNLiveBackgroundImageController : CNCommonViewController |
| 19 | @property (nonatomic, strong) IMAUser *user; //设置单个聊天背景图才需要传 | 20 | @property (nonatomic, strong) IMAUser *user; //设置单个聊天背景图才需要传 |
| 20 | @property (nonatomic, assign) BOOL isSettingAll; //是否是设置所有聊天背景图 | 21 | @property (nonatomic, assign) BOOL isSettingAll; //是否是设置所有聊天背景图 |
| 21 | 22 |
CNLiveSettingModule/Classes/Cancellation/CNLiveCancellationController.h
| @@ -8,9 +8,11 @@ | @@ -8,9 +8,11 @@ | ||
| 8 | 8 | ||
| 9 | // 注销账号 | 9 | // 注销账号 |
| 10 | 10 | ||
| 11 | +#import "CNCommonViewController.h" | ||
| 12 | + | ||
| 11 | NS_ASSUME_NONNULL_BEGIN | 13 | NS_ASSUME_NONNULL_BEGIN |
| 12 | 14 | ||
| 13 | -@interface CNLiveCancellationController : UIViewController | 15 | +@interface CNLiveCancellationController : CNCommonViewController |
| 14 | 16 | ||
| 15 | @end | 17 | @end |
| 16 | 18 |
CNLiveSettingModule/Classes/Controller/CNLiveSettingController.h
| @@ -11,10 +11,11 @@ | @@ -11,10 +11,11 @@ | ||
| 11 | */ | 11 | */ |
| 12 | 12 | ||
| 13 | #import <UIKit/UIKit.h> | 13 | #import <UIKit/UIKit.h> |
| 14 | +#import "CNCommonViewController.h" | ||
| 14 | 15 | ||
| 15 | NS_ASSUME_NONNULL_BEGIN | 16 | NS_ASSUME_NONNULL_BEGIN |
| 16 | 17 | ||
| 17 | -@interface CNLiveSettingController : UIViewController | 18 | +@interface CNLiveSettingController : CNCommonViewController |
| 18 | 19 | ||
| 19 | @end | 20 | @end |
| 20 | 21 |
CNLiveSettingModule/Classes/FontSIze/CNLiveFontSettingController.h
CNLiveSettingModule/Classes/Privacy/CNLiveNotSeeController.h
| @@ -5,14 +5,17 @@ | @@ -5,14 +5,17 @@ | ||
| 5 | // Created by CNLive-zxw on 2019/4/22. | 5 | // Created by CNLive-zxw on 2019/4/22. |
| 6 | // Copyright © 2019 cnlive. All rights reserved. | 6 | // Copyright © 2019 cnlive. All rights reserved. |
| 7 | // | 7 | // |
| 8 | + | ||
| 8 | // 不看他/不让他看 | 9 | // 不看他/不让他看 |
| 9 | 10 | ||
| 11 | +#import "CNCommonViewController.h" | ||
| 12 | + | ||
| 10 | NS_ASSUME_NONNULL_BEGIN | 13 | NS_ASSUME_NONNULL_BEGIN |
| 11 | typedef NS_ENUM(NSUInteger, CNNotSeeType) { | 14 | typedef NS_ENUM(NSUInteger, CNNotSeeType) { |
| 12 | CNTypeNoLetHimSee, | 15 | CNTypeNoLetHimSee, |
| 13 | CNTypeNoSeeHim | 16 | CNTypeNoSeeHim |
| 14 | }; | 17 | }; |
| 15 | -@interface CNLiveNotSeeController : UIViewController | 18 | +@interface CNLiveNotSeeController : CNCommonViewController |
| 16 | @property (nonatomic, copy) NSString *name; | 19 | @property (nonatomic, copy) NSString *name; |
| 17 | @property (nonatomic, assign) CNNotSeeType type; | 20 | @property (nonatomic, assign) CNNotSeeType type; |
| 18 | 21 |
CNLiveSettingModule/Classes/Privacy/CNLivePrivacyController.h
| @@ -8,9 +8,11 @@ | @@ -8,9 +8,11 @@ | ||
| 8 | 8 | ||
| 9 | // 隐私 | 9 | // 隐私 |
| 10 | 10 | ||
| 11 | +#import "CNCommonViewController.h" | ||
| 12 | + | ||
| 11 | NS_ASSUME_NONNULL_BEGIN | 13 | NS_ASSUME_NONNULL_BEGIN |
| 12 | 14 | ||
| 13 | -@interface CNLivePrivacyController : UIViewController | 15 | +@interface CNLivePrivacyController : CNCommonViewController |
| 14 | 16 | ||
| 15 | @end | 17 | @end |
| 16 | 18 |