-
Howard authoredf4ddf763
MyAppConstant.h 580 B
//
// MyAppConstant.h
// CommonSdk
//
// Created by Howard on 2021/11/11.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#ifndef MyAppConstant_h
#define MyAppConstant_h
#define kIphoneX (([[UIScreen mainScreen] bounds].size.height<812)?NO:YES)
#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height
#define kNavHeight kIphoneX?88:64
#define MyStrongTypeOf(x) __strong __typeof(x)
#define MyWeakTypeOf(x) __weak __typeof(x)
typedef void (^MyCommonBlock)(void);
#endif /* MyAppConstant_h */