123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // ACSIONHeader.h
- // ACSION
- //
- // Created by sunyue on 2019/4/22.
- // Copyright © 2019 acsion. All rights reserved.
- //
- #ifndef ACSIONHeader_h
- #define ACSIONHeader_h
- #define UMAPP_KEY @"5cc003ab0cafb2f18d000033"
- #define CHANNEL_ID @"70053"
- #define kRegularFont @"PingFangSC-Regular"
- #define kMediumFont @"PingFangSC-Medium"
- #define kSemiboldFont @"PingFangSC-Semibold"
- #define REGISTER_SECRET @"Y08D2SQPWJF5X1TC7EZ6MILH4GVBUAKRN93O"
- #define USER_TOKEN @"USER_TOKEN"
- #define USER_PASSWORD @"USER_PASSWORD"
- #define USER_NAME @"USER_NAME"
- #define USER_ID @"USER_ID"
- #define kStatusBarHeight [ASScreenSafeManager statusBarHeightOfScreen]
- #define kNavBarHeight [ASScreenSafeManager navBarHeightOfScreen]
- #define kSafeBottomHeight [ASScreenSafeManager safeBottomHeightOfScreen]
- #define kTabbarHeight [ASScreenSafeManager tabBarHeightOfScreen]
- #define kSafeTopHeight KStatusBarHeight-20.0
- #define SCREEN_MUTI (SCREEN_WIDTH/375.0)
- //定义屏幕的宽度
- #define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width<[UIScreen mainScreen].bounds.size.height?[UIScreen mainScreen].bounds.size.width:[UIScreen mainScreen].bounds.size.height)
- //定义屏幕的高度
- #define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.width>[UIScreen mainScreen].bounds.size.height?[UIScreen mainScreen].bounds.size.width:[UIScreen mainScreen].bounds.size.height)
- #ifdef DEBUG
- #define NSLog(...) NSLog(__VA_ARGS__)
- #else
- #define NSLog(...)
- #endif
- #endif /* ACSIONHeader_h */
|