PrefixHeader.pch 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. //
  2. // PrefixHeader.pch
  3. // jiaPei
  4. //
  5. // Created by apple on 15/11/2.
  6. // Copyright (c) 2015年 JCZ. All rights reserved.
  7. //
  8. #ifndef jiaPei_PrefixHeader_pch
  9. #define jiaPei_PrefixHeader_pch
  10. // Include any system framework and library headers here that should be included in all compilation units.
  11. // You will also need to set the Prefix Header build setting of one or more of your targets to reference this file.
  12. #ifdef __cplusplus
  13. #import <opencv2/opencv.hpp>
  14. #import <opencv2/imgproc/types_c.h>
  15. #import <opencv2/core.hpp>
  16. #import <opencv2/features2d.hpp>
  17. #import <opencv2/calib3d.hpp>
  18. #import <opencv2/objdetect.hpp>
  19. #import <opencv2/highgui.hpp>
  20. #import <opencv2/imgproc.hpp>
  21. #import <opencv2/objdetect/objdetect.hpp>
  22. #endif
  23. #import <Foundation/Foundation.h>
  24. #import <UIKit/UIKit.h>
  25. #import <QMUIKit/QMUIKit.h>
  26. //客服
  27. #define kScreenWidth [[UIScreen mainScreen] bounds].size.width
  28. #define kMainCellColor [UIColor colorWithRed:248/255.0 green:248/255.0 blue:255/255.0 alpha:1]
  29. #define kInputViewHeight 50
  30. #define QM_IS_IPHONEX (([[UIScreen mainScreen] bounds].size.height-812)?NO:YES)
  31. #define kScreenHeight (QM_IS_IPHONEX ? ([[UIScreen mainScreen] bounds].size.height - 34) : ([[UIScreen mainScreen] bounds].size.height))
  32. #import "UIImage+GIF.h"
  33. #import "MLEmojiLabel.h"
  34. #import "QMDateManager.h"
  35. #import "MapManager.h"
  36. #pragma mark - Vendors
  37. #import "BlocksKit.h"
  38. #import "BlocksKit+UIKit.h"
  39. #import "YYCategories.h"
  40. #import "SmallVideo.h"
  41. #pragma mark - Pods
  42. #import <ReactiveObjC/ReactiveObjC.h>
  43. #import "XHLaunchAd.h"
  44. #import <Bugly/Bugly.h>//bugly腾讯bug统计
  45. #import "CGXVerticalMenu.h"
  46. #import "UIViewController+CWLateralSlide.h"
  47. #import "SCLAlertView.h"
  48. #import <TZImagePickerController.h>
  49. #import <Masonry.h>
  50. #import <SDWebImage/SDWebImage.h>
  51. #import <SDWebImageWebPCoder/SDWebImageWebPCoder.h>
  52. #import <MJRefresh/MJRefresh.h>
  53. #import <WXApi.h>
  54. #import <WXApiObject.h>
  55. #import <AlipaySDK/AlipaySDK.h>
  56. #import "DOUAudioStreamer.h"
  57. #import <ZYCornerRadius/UIImageView+CornerRadius.h>
  58. #import <Colours/Colours.h>
  59. #import <JXCategoryView/JXCategoryView.h>
  60. #import <JXPagingView/JXPagerView.h>
  61. #import <BMKLocationkit/BMKLocationComponent.h>//引入定位功能所有的头文件(新)
  62. #import <BaiduMapAPI_Base/BMKBaseComponent.h>//引入地图功能所有的头文件
  63. #import <BaiduMapAPI_Search/BMKSearchComponent.h>//引入检索功能所有的头文件
  64. #import <BaiduMapAPI_Map/BMKMapView.h>
  65. #import <BaiduMapAPI_Map/BMKPinAnnotationView.h>
  66. #import "CocoaSecurity.h"
  67. #import <YYWebImage/YYWebImage.h>
  68. #import <IQKeyboardManager.h>
  69. #import <FDFullscreenPopGesture/UINavigationController+FDFullscreenPopGesture.h>
  70. #import <JPFPSStatus/JPFPSStatus.h>
  71. #import <ZFPlayer.h>
  72. #import <ZFPlayerControlView.h>
  73. #import "FMDB.h"
  74. #import "WZLBadgeImport.h"
  75. #import "SDCycleScrollView.h"
  76. #pragma mark - Macros
  77. #import "RQMacros.h"
  78. #pragma mark - Utils
  79. #import "RQUtils.h"
  80. #import "UIFormatter.h"
  81. #import "UserInfo.h"
  82. #import "AppDelegate.h"
  83. #import "ENUM.h"
  84. #import "UIImageView+WebCache.h"
  85. #import "UIViewController+ModalPresentationStyle.h"
  86. #import "NSString+RQExtension.h"
  87. #import "MBProgressHUD+RQExtension.h"
  88. #import "LoadingView.h"
  89. #import "DB_Que_Helper.h"
  90. #import "DB_Helper.h"
  91. #import "NSMutableArray+RQExtension.h"
  92. #import "Util.h"
  93. #import "jiaPeiManager.h"
  94. #import "Tools.h"
  95. #import "NSError+RQExtension.h"
  96. #import "UIView+RQExtension.h"
  97. #import "RQShareFunction.h"
  98. #import "CLLocationManager+RQExtension.h"
  99. #import "UIAlertController+RQExtennsion.h"
  100. //#import "ZFOrientationObserver+RQExtension.h"
  101. #import <Photos/Photos.h>
  102. #import "XYUUID.h"
  103. #import "Migration.h"
  104. #pragma mark - Modules
  105. #import "BaseModule.h"
  106. #import "OtherModules.h"
  107. #import "LoginModule.h"
  108. #import "RQHomePageModule.h"
  109. #import "RQCommunityModule.h"
  110. #import "RQTimeModule.h"
  111. #import "RQDiscoverModule.h"
  112. #import "ProfileModule.h"
  113. #import "MainModule.h"
  114. #if __has_include(<AppTrackingTransparency/AppTrackingTransparency.h>)
  115. #import <AppTrackingTransparency/AppTrackingTransparency.h>
  116. #endif
  117. /**一个全局的单例。
  118. 这个地方可以放入版本判断信息 如果版本太低 不能打开 并告诉用户最低支持的版本信息--danson
  119. */
  120. #define myDelegate ((AppDelegate* )[[UIApplication sharedApplication]delegate])
  121. #endif
  122. #ifdef DEBUG // 开发阶段-DEBUG阶段:使用Log
  123. #define NSLog(FORMAT, ...) fprintf(stderr,"%s:%d\t%s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
  124. #else // 发布阶段-上线阶段:移除Log
  125. #define NSLog(FORMAT, ...) nil
  126. #endif
  127. //支付宝
  128. #ifndef __IPHONE_5_0
  129. #warning "This project uses features only available in iOS SDK 5.0 and later."
  130. #endif
  131. //版本判定
  132. #define iOS8 ([UIDevice currentDevice].systemVersion.floatValue >= 8.0f)
  133. #define iOS10 ([UIDevice currentDevice].systemVersion.floatValue >= 10.0f)
  134. //#define IOS11 ([[UIDevice currentDevice].systemVersion floatValue] >= 11.0f ? YES : NO)
  135. #define IOS11 @available(iOS 11.0, *)
  136. #define IOS12 @available(iOS 12.0, *)
  137. #define IOS13 @available(iOS 13.0, *)
  138. #define is_iPhoneX [UIScreen mainScreen].bounds.size.width == 375.0f && [UIScreen mainScreen].bounds.size.height == 812.0f
  139. #ifdef __OBJC__
  140. #import <UIKit/UIKit.h>
  141. #import <Foundation/Foundation.h>
  142. #endif