PrefixHeader.pch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // PrefixHeader.pch
  3. // IMSDK-OC
  4. //
  5. // Created by HCF on 16/3/9.
  6. // Copyright © 2016年 HCF. 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 "MyDefHeader.h"
  13. #import "Tools.h"
  14. #import "UIButton+ex.h"
  15. #import "NSString+ex.h"
  16. #import "HolderView.h"
  17. #import <MJRefresh.h>
  18. #import "UI_Formatter&Function.h"
  19. //客服
  20. #define kScreenWidth [[UIScreen mainScreen] bounds].size.width
  21. #define kMainCellColor [UIColor colorWithRed:248/255.0 green:248/255.0 blue:255/255.0 alpha:1]
  22. #define kInputViewHeight 50
  23. #define QM_IS_IPHONEX (([[UIScreen mainScreen] bounds].size.height-812)?NO:YES)
  24. #define kScreenHeight (QM_IS_IPHONEX ? ([[UIScreen mainScreen] bounds].size.height - 34) : ([[UIScreen mainScreen] bounds].size.height))
  25. #import "QMChatRoomViewController.h"
  26. #import <QMLineSDK/QMLineSDK.h>
  27. #import "QMAlert.h"
  28. #import "MyUINavigationController.h"
  29. #import "UIImage+GIF.h"
  30. #import "UIImageView+WebCache.h"
  31. #import "MLEmojiLabel.h"
  32. #import "QMDateManager.h"
  33. #import <ReactiveObjC/ReactiveObjC.h>
  34. //-----------
  35. #import "MapManager.h"
  36. #import "RQCategory.h"
  37. #ifdef DEBUG // 开发阶段-DEBUG阶段:使用Log
  38. #define NSLog(FORMAT, ...) fprintf(stderr,"%s:%d\t%s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
  39. #else // 发布阶段-上线阶段:移除Log
  40. #define NSLog(FORMAT, ...) nil
  41. #endif
  42. #endif /* PrefixHeader_pch */