
主要变更: 1. 从 Podfile 中移除 mob_linksdk_pro 依赖,减少项目依赖。 2. 从 AppDelegate 和相关文件中删除 MobLink 初始化及相关逻辑,清理未使用的代码。 3. 移除 ClientConfig 中的 inviteCode 属性,简化配置管理。 此更新旨在提升项目的可维护性,减少冗余依赖,确保代码结构更加清晰。
69 lines
2.0 KiB
Objective-C
69 lines
2.0 KiB
Objective-C
//
|
||
// ClientConfig.h
|
||
// YUMI
|
||
//
|
||
// Created by YUMI on 2021/12/11.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
#import "ClientDataModel.h"
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
@interface ClientConfig : PIBaseModel
|
||
+ (instancetype)shareConfig;
|
||
///初始化
|
||
- (void)clientInit;
|
||
|
||
/// 获取 UI 配置
|
||
- (void)clientConfig:(void(^)(void))finish;
|
||
|
||
/// iOS第三方登录是否需要绑定手机号
|
||
@property (nonatomic,assign) BOOL iOSPhoneBind;
|
||
/// 是否开启了糖果树
|
||
@property (nonatomic,assign) BOOL openCandyTree;
|
||
///配置信息
|
||
@property (nonatomic,strong) ClientDataModel *configInfo;
|
||
|
||
@property (nonatomic, strong) AppUISetting *uiSetting;
|
||
|
||
///开箱子 大于等级 展示
|
||
@property (nonatomic, assign) NSInteger openCandyTreeLimitLevel;
|
||
|
||
@property(nonatomic,assign) BOOL isTF;
|
||
///是否刷新了
|
||
@property (nonatomic,assign) BOOL isLoad;
|
||
///房间id,用于分享房间跳转到房间
|
||
@property (nonatomic, copy) NSString *__nullable roomId;
|
||
///用户id,用于外部h5跳转到聊天页面
|
||
@property (nonatomic, copy) NSString *__nullable chatId;
|
||
///用户id,推送跳转到聊天页面
|
||
@property (nonatomic, copy) NSString *__nullable pushChatId;
|
||
///表情---
|
||
@property (nonatomic, copy) NSString *version;
|
||
@property (nonatomic, copy) NSString *zipMd5;
|
||
@property (nonatomic, strong) NSURL *zipUrl;
|
||
|
||
@property(nonatomic, assign) BOOL shouldDisplayCaptcha;
|
||
|
||
- (UIColor *)bgColor;
|
||
- (NSString *)tabName:(NSInteger)tabIndex;
|
||
|
||
- (NSString *)loadDefaultNormalTabImageName:(NSInteger)tabIndex;
|
||
- (NSString *)loadDefaultSelectedTabImageName:(NSInteger)tabIndex;
|
||
- (NSString *)loadConfigNormalTabImagePath:(NSInteger)tabIndex;
|
||
- (NSString *)loadConfigSelectedTabImagePath:(NSInteger)tabIndex;
|
||
|
||
@property (nonatomic, copy) NSString *reloadNavigationAreaImageKey;
|
||
@property (nonatomic, copy) NSString *reloadViewBackgroundColorKey;
|
||
|
||
@property (nonatomic, strong) UIImage *navigationAreaBG;
|
||
@property (nonatomic, strong) UIImage *tabbarBGImage;
|
||
|
||
|
||
@property (nonatomic, copy) void(^updateTabbarBG)(UIImage *image);
|
||
|
||
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|