澎湃iPad上线版本

TPUserDefault.h 3.5KB

    // // TPUserDefault.h // ThePaperDemo // // Created by Scar on 14-9-10. // Copyright (c) 2014年 scar1900. All rights reserved. // #import <Foundation/Foundation.h> //#ifdef isPad //typedef enum { // fontSizeBig = 30, // fontSizeMiddle = 20, // fontSizeSmall = 13 //}contentFontSize; //#else //typedef enum { // fontSizeExBig = 21, // fontSizeBig = 18, // fontSizeMiddle = 16, // fontSizeSmall = 15, // fontSizeExSmall = 13 //}contentFontSize; //#endif typedef enum { imageMode = 0, textMode = 1, intelligentMode = 2 }readMode; @interface TPUserDefault : NSObject + (TPUserDefault *)instance; @property(nonatomic, strong)NSString *isFirstIntoApp; //存储当前导航序号 @property(nonatomic, assign)NSInteger currentPageIndex; @property(nonatomic, strong)NSMutableArray *channldataList; //user system font :0 not: 1 @property(nonatomic, strong)NSString* isUseSystemFont; //night mode: @"1" not: @"0" @property(nonatomic, strong)NSString* isNightMode; @property(nonatomic, strong)NSString* isOpenPush; @property(nonatomic, strong)userBO *userBO; @property(nonatomic, strong)NSString *readModeStr; @property(nonatomic, strong)NSString *noMoreReadModeAlert; @property(nonatomic, strong)NSString *lastContentID; @property(nonatomic, assign)CGPoint lastContentOffset; @property(nonatomic, strong)NSString *uuid; //设备标识符 @property(nonatomic, strong)NSString *isAttention; @property(nonatomic, strong)NSString *deviceResolution; //设备分辨率 @property(nonatomic, strong)NSString *deviceUA; //设备UA @property(nonatomic, strong)NSString *systemInfo; //系统信息 @property(nonatomic, strong)NSString *appVersion; //系统版本 @property(nonatomic, strong)NSString *umengToken; @property(nonatomic, strong)NSString *IDFA; @property(nonatomic, assign)CGFloat contFontSize; @property(nonatomic, strong)NSArray *offlineList; @property(nonatomic, strong)NSArray *offlineStatusList; @property(nonatomic, strong)remotePushBO *pushBO; //推送全局变量,用于推送逻辑判断,该BO也可能是广告点击后生成的 @property(nonatomic, strong)NSString *isEnterFromBackground; //标记从后台进入前台 2标记为既从后台唤醒又接到了推送消息 @property(nonatomic, strong)NSOperationQueue *imageQueue; @property(nonatomic, strong)NSOperationQueue *globalQueue; @property(nonatomic, strong)NSArray *hotAskColorList; @property(nonatomic, strong)registerInfoBO *registerBO; @property(nonatomic, strong)registerInfoBO *fogetPwdInfoBO; @property(nonatomic, strong)NSMutableDictionary *msgMark; @property(nonatomic, strong)NSDictionary *updateInfo; @property(nonatomic, strong)NSString *ignoreVersion; @property(nonatomic, strong)NSString *clearStatus; @property(nonatomic, strong)NSString *visitTime;//阅读的文章数 @property(nonatomic, strong)NSString *hostId;//问答详情页的题主Id @property(nonatomic, strong)NSMutableArray *orderEventTempList; //订阅事件ID存储 @property(nonatomic, strong)NSString *isIphone4; @property(nonatomic, strong)UIViewController *offlineController; @property(nonatomic, strong)NSString *offlinePath; @property(nonatomic, strong)NSMutableDictionary *pauseDataDic; @property(nonatomic, strong)NSMutableDictionary *helpArray; @property(nonatomic, strong)NSMutableArray *searchHistoryArray; @property(nonatomic, assign)BOOL isOffline; @property(nonatomic, strong)NSString* isRegistedPush; - (NSString*)getappVer; - (void)clearCache:(id)sender; - (void)clearCache; - (void)checkMsgMarkStatus; //检查未读红点状态 - (BOOL)isHaveUnMarkedMsg; //检查是否有未读 @end