[Add] IPDSDK 2.0.0.3
[CocoaPods.git] / Specs / 9 / 8 / 7 / GPNavigationController / 0.1.8 / GPNavigationController.podspec.json
blob60488ebe9017e65ee41880e99711add2b27906ad
2   "name": "GPNavigationController",
3   "version": "0.1.8",
4   "summary": "iOS UI基础框架 GPNavigationController.",
5   "description": "TODO: Add long description of the pod here.",
6   "homepage": "https://github.com/ziyue92/GPNavigationController",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "ziyue92": "ziyue92@qq.com"
13   },
14   "source": {
15     "git": "https://github.com/ziyue92/GPNavigationController.git",
16     "tag": "0.1.8"
17   },
18   "platforms": {
19     "ios": "8.0"
20   },
21   "source_files": "GPNavigationController/Classes/**/*",
22   "public_header_files": "GPNavigationController/Classes/**/*.h",
23   "dependencies": {
24     "Reachability": [
26     ]
27   },
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"