// // PrefixHeader.pch // jiaPei // // Created by apple on 15/11/2. // Copyright (c) 2015年 JCZ. All rights reserved. // #ifndef jiaPei_PrefixHeader_pch #define jiaPei_PrefixHeader_pch // Include any system framework and library headers here that should be included in all compilation units. // You will also need to set the Prefix Header build setting of one or more of your targets to reference this file. #ifdef __cplusplus #import #import #import #import #import #import #import #import #import #endif #import #import #import //客服 #define kScreenWidth [[UIScreen mainScreen] bounds].size.width #define kMainCellColor [UIColor colorWithRed:248/255.0 green:248/255.0 blue:255/255.0 alpha:1] #define kInputViewHeight 50 #define QM_IS_IPHONEX (([[UIScreen mainScreen] bounds].size.height-812)?NO:YES) #define kScreenHeight (QM_IS_IPHONEX ? ([[UIScreen mainScreen] bounds].size.height - 34) : ([[UIScreen mainScreen] bounds].size.height)) #import "UIImage+GIF.h" #import "MLEmojiLabel.h" #import "QMDateManager.h" #import "MapManager.h" #pragma mark - Vendors #import "BlocksKit.h" #import "BlocksKit+UIKit.h" #import "YYCategories.h" #import "SmallVideo.h" #pragma mark - Pods #import #import "XHLaunchAd.h" #import //bugly腾讯bug统计 #import "CGXVerticalMenu.h" #import "UIViewController+CWLateralSlide.h" #import "SCLAlertView.h" #import #import #import #import #import #import #import #import #import "DOUAudioStreamer.h" #import #import #import #import #import //引入定位功能所有的头文件(新) #import //引入地图功能所有的头文件 #import //引入检索功能所有的头文件 #import #import #import "CocoaSecurity.h" #import #import #import #import #import #import #import "FMDB.h" #import "WZLBadgeImport.h" #import "SDCycleScrollView.h" #pragma mark - Macros #import "RQMacros.h" #pragma mark - Utils #import "RQUtils.h" #import "UIFormatter.h" #import "UserInfo.h" #import "AppDelegate.h" #import "ENUM.h" #import "UIImageView+WebCache.h" #import "UIViewController+ModalPresentationStyle.h" #import "NSString+RQExtension.h" #import "MBProgressHUD+RQExtension.h" #import "LoadingView.h" #import "DB_Que_Helper.h" #import "DB_Helper.h" #import "NSMutableArray+RQExtension.h" #import "Util.h" #import "jiaPeiManager.h" #import "Tools.h" #import "NSError+RQExtension.h" #import "UIView+RQExtension.h" #import "RQShareFunction.h" #import "CLLocationManager+RQExtension.h" #import "UIAlertController+RQExtennsion.h" //#import "ZFOrientationObserver+RQExtension.h" #import #import "XYUUID.h" #import "Migration.h" #pragma mark - Modules #import "BaseModule.h" #import "OtherModules.h" #import "LoginModule.h" #import "RQHomePageModule.h" #import "RQCommunityModule.h" #import "RQTimeModule.h" #import "RQDiscoverModule.h" #import "ProfileModule.h" #import "MainModule.h" #if __has_include() #import #endif /**一个全局的单例。 这个地方可以放入版本判断信息 如果版本太低 不能打开 并告诉用户最低支持的版本信息--danson */ #define myDelegate ((AppDelegate* )[[UIApplication sharedApplication]delegate]) #endif #ifdef DEBUG // 开发阶段-DEBUG阶段:使用Log #define NSLog(FORMAT, ...) fprintf(stderr,"%s:%d\t%s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]); #else // 发布阶段-上线阶段:移除Log #define NSLog(FORMAT, ...) nil #endif //支付宝 #ifndef __IPHONE_5_0 #warning "This project uses features only available in iOS SDK 5.0 and later." #endif //版本判定 #define iOS8 ([UIDevice currentDevice].systemVersion.floatValue >= 8.0f) #define iOS10 ([UIDevice currentDevice].systemVersion.floatValue >= 10.0f) //#define IOS11 ([[UIDevice currentDevice].systemVersion floatValue] >= 11.0f ? YES : NO) #define IOS11 @available(iOS 11.0, *) #define IOS12 @available(iOS 12.0, *) #define IOS13 @available(iOS 13.0, *) #define is_iPhoneX [UIScreen mainScreen].bounds.size.width == 375.0f && [UIScreen mainScreen].bounds.size.height == 812.0f #ifdef __OBJC__ #import #import #endif