// // RQCommonManager.h // SDJK // // Created by 张嵘 on 2021/8/19. // #import /// 秘卷选项 typedef NS_ENUM(NSInteger, RQMiExamType) { /// 秘卷一 RQMiExamType_One = 0, /// 秘卷二 RQMiExamType_Two = 1, }; #define RQ_COMMON_MANAGER [RQCommonManager sharedInstance] NS_ASSUME_NONNULL_BEGIN @interface RQCommonManager : NSObject @singleton(RQCommonManager); //@property (nonatomic, readwrite, assign) AFNetworkReachabilityStatus netStatus; @property (nonatomic, readwrite, assign) RQHomePageCarType carType; @property (nonatomic, readwrite, copy) NSString *carTypeStr; @property (nonatomic, readwrite, assign) RQHomePageSubjectType subject; @property (nonatomic, readwrite, copy) NSString *subjectStr; @property (nonatomic, readwrite, assign) RQMiExamType miExamType; @property (nonatomic, readwrite, copy) NSString *historyEmailStr; @property (nonatomic, readwrite, copy) NSArray *treeListArr; @property (nonatomic, readwrite, copy) NSArray *dspListArr; @property (nonatomic, readwrite, copy) NSArray *vipTypeListArr; @property (nonatomic, readwrite, assign) BOOL SDJK_APP_ICON_NEED_CHANGE; - (void)saveObjectWithObject:(id)object ForKey:(NSString* )key; - (id)getObjectWithKey:(NSString *)key; - (NSString *)getCarTypeStrWithCarType:(RQHomePageCarType)carType; - (NSString *)getCarTypeEnStrWithCarType:(RQHomePageCarType)carType; - (NSString *)getCarTypeSimpleCNStrWithCarType:(RQHomePageCarType)carType; - (NSString *)getSubjectTypeStrWithSubjectType:(RQHomePageSubjectType)subjecType; - (NSString *)getCarTypeSimpleCNStrWithCarTypeNew:(RQHomePageCarType)carType; - (NSString *)getSubjectTypeNumStrWithSubjectType:(RQHomePageSubjectType)subjecType; - (NSString *)getMiExamTypeNumStrWithMiExamType:(RQMiExamType)miExamType; - (void)checkVersionWithComplete:(VoidBlock_Bool)complete; - (void)checkAppStoreVersionWithComplete:(VoidBlock_Bool)complete; - (void)downLoadWithFilePath:(NSString *)filePath; @end NS_ASSUME_NONNULL_END