PrefixHeader.pch 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. //
  2. // PrefixHeader.pch
  3. // JSJPCoach
  4. //
  5. // Created by apple on 2017/3/20.
  6. // Copyright © 2017年 Danson. All rights reserved.
  7. //
  8. #ifndef PrefixHeader_pch
  9. #define 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. #import <Foundation/Foundation.h>
  13. #import <UIKit/UIKit.h>
  14. #import "AppDelegate.h"
  15. #import "UIFormatter.h"
  16. #import "DataAndEnum.h"
  17. #import "Util.h"
  18. #import "UserInfo.h"
  19. #import "jiaPeiManager.h"
  20. #import "LoadingView.h"
  21. #import "HolderView.h"
  22. #import "Tools.h"
  23. #import "UIView+Setter.h"
  24. #import "UIView+Frame.h"
  25. #import "UIImage+Setter.h"
  26. #import "NSString+ex.h"
  27. #import "MtArray+Setter.h"
  28. #import "UIImageView+WebCache.h"
  29. #import "Masonry.h"
  30. #import "ReactiveObjC.h"
  31. #import "UIView+RQExtension.h"
  32. #import "SCLAlertView.h"
  33. #import "BUSplashAdView+RQExtension.h"
  34. //客服
  35. #define kScreenWidth [[UIScreen mainScreen] bounds].size.width
  36. #define kMainCellColor [UIColor colorWithRed:248/255.0 green:248/255.0 blue:255/255.0 alpha:1]
  37. #define kInputViewHeight 50
  38. #define QM_IS_IPHONEX (([[UIScreen mainScreen] bounds].size.height-812)?NO:YES)
  39. #define kScreenHeight (QM_IS_IPHONEX ? ([[UIScreen mainScreen] bounds].size.height - 34) : ([[UIScreen mainScreen] bounds].size.height))
  40. #import "UIImage+GIF.h"
  41. #import "MLEmojiLabel.h"
  42. #import "QMDateManager.h"
  43. #import <BUAdSDK/BUAdSDK.h>
  44. #import <ADCDN/ADCDN.h>
  45. #import <GDTMobSDK/GDTSplashAd.h>
  46. #import "RQShareFunction.h"
  47. #import "RQADViewManager.h"
  48. //______________
  49. /**一个全局的单例。
  50. 这个地方可以放入版本判断信息 如果版本太低 不能打开 并告诉用户最低支持的版本信息--danson
  51. */
  52. #define myDelegate ((AppDelegate* )[[UIApplication sharedApplication]delegate])
  53. #ifdef DEBUG // 开发阶段-DEBUG阶段:使用Log
  54. #define NSLog(FORMAT, ...) fprintf(stderr,"%s:%d\t%s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
  55. #else // 发布阶段-上线阶段:移除Log
  56. #define NSLog(FORMAT, ...) nil
  57. #endif
  58. #endif
  59. #ifdef __OBJC__
  60. #import <UIKit/UIKit.h>
  61. #import <Foundation/Foundation.h>
  62. #endif /* PrefixHeader_pch */