Commit 2a7d9ffa1543875d344f6c19eb635d4fa903b919

Authored by zhangxiaowen
1 parent 5e306d8d

no message

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