PrefixHeader.pch 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //
  2. // PrefixHeader.pch
  3. // LN_School
  4. //
  5. // Created by apple on 2017/4/5.
  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. //客服
  15. #define kScreenWidth [[UIScreen mainScreen] bounds].size.width
  16. #define kMainCellColor [UIColor colorWithRed:248/255.0 green:248/255.0 blue:255/255.0 alpha:1]
  17. #define kInputViewHeight 50
  18. #define QM_IS_IPHONEX (([[UIScreen mainScreen] bounds].size.height-812)?NO:YES)
  19. #define kScreenHeight (QM_IS_IPHONEX ? ([[UIScreen mainScreen] bounds].size.height - 34) : ([[UIScreen mainScreen] bounds].size.height))
  20. #import "UIImage+GIF.h"
  21. #import "MLEmojiLabel.h"
  22. #import "QMDateManager.h"
  23. //______________
  24. #import "AppDelegate.h"
  25. #import "DataAndEnum.h"
  26. #import "UI_Formatter&Function.h"
  27. #import "UserInfo.h"
  28. #import "Tools.h"
  29. #import "HolderView.h"
  30. #import "NetManager.h"
  31. #import <MJRefresh.h>
  32. #import "MBProgressHUD+DS.h"
  33. #import "UIView+Frame.h"
  34. #import <UIImageView+WebCache.h>
  35. #import "THDatePickerViewController.h"
  36. #import "ReactiveObjC.h"
  37. #import "Masonry.h"
  38. #import "RQShareFunction.h"
  39. #import "HDCollectionView.h"
  40. #import "UIView+HDSafeArea.h"
  41. #import <Colours/Colours.h>
  42. #import <YYWebImage/YYWebImage.h>
  43. #import <YYText.h>
  44. #import "UIView+gesture.h"
  45. #import "UIView+RQExtension.h"
  46. #import <YYCategories.h>
  47. #define myDelegate ((AppDelegate* )[[UIApplication sharedApplication]delegate])
  48. #ifdef DEBUG // 开发阶段-DEBUG阶段:使用Log
  49. #define NSLog(FORMAT, ...) fprintf(stderr,"%s:%d\t%s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
  50. #else // 发布阶段-上线阶段:移除Log
  51. #define NSLog(FORMAT, ...) nil
  52. #endif
  53. #endif /* PrefixHeader_pch */