// // ModelPrefix.pch // model // // Created by zuxiukuan on 2018/7/15. // Copyright © 2018年 Mine. All rights reserved. // #ifndef ModelPrefix_pch #define ModelPrefix_pch // Include any system framework and library headers here that should be included in all compilation units. // You will also need to set the Prefix Header build setting of one or more of your targets to reference this file. #ifdef __OBJC__ #import #import #import "ModelNavigationController.h" #import #import #import #import #import // #import #import #import "NIMKit.h" #import "NIMKitInfoFetchOption.h" #import #import "ModelBaseViewController.h" #import "NTESGlobalMacro.h" #import "Reachability.h" #import "Masonry.h" #import "NSString+method.h" #import "PrivateModel.h" #import "ActivityModel.h" #import "YanCNetWorkManager.h" #import "MBProgressHUD+YanC.h" #import "ModelUser.h" #import "MD5String.h" #import "Helper.h" #import "UIColor+Hex.h" #import "JSONModel.h" #import "ActorModel.h" #import "UILabel+LabelHeightAndWidth.h" #import "UIScreen+Sports.h" #import "UIButton+EnlargeEdge.h" #import "AHHttpManager.h" #import "MBProgressHUD+Extension.h" // #import "ModelHeader.h" #define ScreenWidth [UIScreen mainScreen].bounds.size.width #define ScreenHeight [UIScreen mainScreen].bounds.size.height #define ScreenSize [UIScreen mainScreen].bounds.size //计算颜色 #define RGB(r,g,b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1.0] #define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a] #define RGBValueColor(rgbValue,a) [UIColor colorWithRed:((float)(((rgbValue) & 0xFF0000) >> 16))/255.0 green:((float)(((rgbValue) & 0xFF00)>>8))/255.0 blue: ((float)((rgbValue) & 0xFF))/255.0 alpha:(a)] // 随机色 #define RenderColor [UIColor colorWithRed:arc4random_uniform(255) / 255.0 green:arc4random_uniform(255) / 255.0 blue:arc4random_uniform(255) / 255.0 alpha:1.0] //  适配 #define AutoSizeSalseX ScreenWidth / 375.0 #define AutoSizeSalseY ScreenHeight / 667.0 #define HeightStatusBar [[UIApplication sharedApplication] statusBarFrame].size.height #define HeightNavigationBar self.navigationController.navigationBar.frame.size.height #define Height_StatusBar (HeightStatusBar == 44.0f) ? 44.0f : 20.0f #define Height_NaviBar (HeightStatusBar == 44.0f) ? 88.0f : 64.0f #define Height_TabBar (HeightStatusBar == 44.0f) ? 83.0f : 49.0f #define Height_TabBar_Safe (HeightStatusBar == 44.0f) ? 34.0f : 0.0f #define ScreenResultHeight [[UIScreen mainScreen] bounds].size.height-(Height_NaviBar) #define iOS7Later ([UIDevice currentDevice].systemVersion.floatValue >= 7.0f) #define iOS8Later ([UIDevice currentDevice].systemVersion.floatValue >= 8.0f) #define iOS9Later ([UIDevice currentDevice].systemVersion.floatValue >= 9.0f) #define iOS9_1Later ([UIDevice currentDevice].systemVersion.floatValue >= 9.1f) #endif #endif /* ModelPrefix_pch */