Aucune description

ACSIONHeader.h 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // ACSIONHeader.h
  3. // ACSION
  4. //
  5. // Created by sunyue on 2019/4/22.
  6. // Copyright © 2019 acsion. All rights reserved.
  7. //
  8. #ifndef ACSIONHeader_h
  9. #define ACSIONHeader_h
  10. #define UMAPP_KEY @"5cc003ab0cafb2f18d000033"
  11. #define CHANNEL_ID @"70053"
  12. #define kRegularFont @"PingFangSC-Regular"
  13. #define kMediumFont @"PingFangSC-Medium"
  14. #define kSemiboldFont @"PingFangSC-Semibold"
  15. #define REGISTER_SECRET @"Y08D2SQPWJF5X1TC7EZ6MILH4GVBUAKRN93O"
  16. #define USER_TOKEN @"USER_TOKEN"
  17. #define USER_PASSWORD @"USER_PASSWORD"
  18. #define USER_NAME @"USER_NAME"
  19. #define USER_ID @"USER_ID"
  20. #define kStatusBarHeight [ASScreenSafeManager statusBarHeightOfScreen]
  21. #define kNavBarHeight [ASScreenSafeManager navBarHeightOfScreen]
  22. #define kSafeBottomHeight [ASScreenSafeManager safeBottomHeightOfScreen]
  23. #define kTabbarHeight [ASScreenSafeManager tabBarHeightOfScreen]
  24. #define kSafeTopHeight KStatusBarHeight-20.0
  25. #define SCREEN_MUTI (SCREEN_WIDTH/375.0)
  26. //定义屏幕的宽度
  27. #define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width<[UIScreen mainScreen].bounds.size.height?[UIScreen mainScreen].bounds.size.width:[UIScreen mainScreen].bounds.size.height)
  28. //定义屏幕的高度
  29. #define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.width>[UIScreen mainScreen].bounds.size.height?[UIScreen mainScreen].bounds.size.width:[UIScreen mainScreen].bounds.size.height)
  30. #ifdef DEBUG
  31. #define NSLog(...) NSLog(__VA_ARGS__)
  32. #else
  33. #define NSLog(...)
  34. #endif
  35. #endif /* ACSIONHeader_h */