blob: d702cc906f093b7b0ed964d13ed187f202b1d0c4 [file] [log] [blame]
{
"name": "GPHybrid",
"version": "0.1.7",
"summary": "A short description of GPHybrid.",
"description": "TODO: Add long description of the pod here.",
"homepage": "https://github.com/ziyue92/GPHybrid",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"ziyue92": "ziyue92@qq.com"
},
"source": {
"git": "https://github.com/ziyue92/GPHybrid.git",
"tag": "0.1.7"
},
"platforms": {
"ios": "8.0"
},
"source_files": "GPHybrid/Classes/**/*",
"prefix_header_contents": "//屏幕适配\n#define FitAllScreen(value1, value2) (SCREEN_WIDTH >= 414 ? (Fit6P(value1)) : (Fit6(value2)))\n#define Fit6P(value) ((value) / 1242.0f * [UIScreen mainScreen].bounds.size.width)\n#define Fit6(value) ((value) / 750.0f * [UIScreen mainScreen].bounds.size.width)\n#define FitAllFont(value1, value2) (SCREEN_WIDTH >= 414 ? (value1) : (value2))\n#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width\n#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height\n\n#define iOS7 ([[UIDevice currentDevice].systemVersion doubleValue] >= 7.0)\n#define iOS8LESS ([[UIDevice currentDevice].systemVersion doubleValue] < 8.0)\n#define iOS8 ([[UIDevice currentDevice].systemVersion doubleValue] >= 8.0)\n#define iOS9LESS ([[UIDevice currentDevice].systemVersion doubleValue] <= 9.0)\n#define iOS10MORE ([[UIDevice currentDevice].systemVersion doubleValue] >= 10.0)\n#define HWColor(r, g, b) [UIColor colorWithRed:(r) / 255.0 green:(g) / 255.0 blue:(b) / 255.0 alpha:1.0]\n#define NavBgColor HWColor(23,28,32)\n#define TextBgColor HWColor(60,60,60)\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",
"dependencies": {
"Masonry": [
],
"AFNetworking": [
],
"libextobjc": [
],
"GPNavigationController": [
]
}
}