2 "name": "GPNavigationController",
4 "summary": "iOS UI基础框架 GPNavigationController.",
5 "description": "TODO: Add long description of the pod here.",
6 "homepage": "https://github.com/ziyue92/GPNavigationController",
12 "ziyue92": "ziyue92@qq.com"
15 "git": "https://github.com/ziyue92/GPNavigationController.git",
21 "source_files": "GPNavigationController/Classes/**/*",
22 "public_header_files": "GPNavigationController/Classes/**/*.h",
28 "prefix_header_contents": "#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000\n#define LBL_TEXTSIZE(text, font) [text length] > 0 ? [text \\\nsizeWithAttributes:@{NSFontAttributeName: font}] : \\\nCGSizeZero;\n#else\n#define LBL_TEXTSIZE(text, font) [text length] > 0 ? [text sizeWithFont:font] : CGSizeZero;\n#endif\n\n#define GPColor(r, g, b) [UIColor colorWithRed:(r) / 255.0 green:(g) / 255.0 blue:(b) / 255.0 alpha:1.0]\n\n#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width\n#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height\n#define AppWindow [UIApplication sharedApplication].keyWindow\n#define WINDOW [[[UIApplication sharedApplication] delegate] window]\n\n#define isIPhoneXByHeight ([[UIScreen mainScreen] bounds].size.height == 812.f ? 1 :0 )//根据屏幕高度判断\n#define StatusHeight (isIPhoneXByHeight ? 44 : 20)//statusTabbar的高度,iPhone X的高度44\n#define NavHeight (isIPhoneXByHeight ? 88 : 64)//导航栏整体高度\n#define TopSafeAreaHeight (isIPhoneXByHeight ? 44 : 0)//顶部部安全距离高度\n#define BottomSafeAreaHeight (isIPhoneXByHeight ? 34 : 0)//底部安全距离高度\n#define TabbarHeight (isIPhoneXByHeight ? 83 : 49)//Tabbar的高度,iPhone X的高度83"