//
|
// PrefixHeader.pch
|
// IphoneBIMe
|
//
|
// Created by zjf on 2018/7/13.
|
// Copyright © 2018年 ProBIM. All rights reserved.
|
//
|
|
#ifndef PrefixHeader_pch
|
#define PrefixHeader_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__
|
|
//颜色宏
|
#define PBColor(r, g, b) [UIColor colorWithRed:(r / 255.0) green:(g / 255.0) blue:(b / 255.0) alpha:1.0]
|
#define TitleColor [UIColor z_colorWithR:40.0 G:58.0 B:79.0]
|
#define DescColor [UIColor z_colorWithR:97.0 G:111.0 B:125.0]
|
#define PromptColor [UIColor z_colorWithR:153.0 G:153.0 B:153.0]
|
#define IgnoreColor [UIColor z_colorWithR:189.0 G:189.0 B:189.0]
|
|
#define SensitiveColor [UIColor z_colorWithR:220.0 G:99.0 B:70.0]
|
#define IndicatedColor [UIColor z_colorWithR:65.0 G:127.0 B:205.0]
|
#define WarningColor [UIColor z_colorWithR:247.0 G:165.0 B:0.0]
|
#define DisableColor [UIColor z_colorWithR:199.0 G:198.0 B:203.0]
|
#define ErrorColor [UIColor z_colorWithR:253.0 G:59.0 B:49.0]
|
//字体宏
|
#define MarkedFontSize 18.0
|
#define TitleFontSize 16.0
|
#define DescFontSize 14.0
|
#define CommentsSize 15.0
|
|
//字体
|
#define Coarse @"PingFangSC-Medium"
|
#define Conventional @"PingFangSC-Regular"
|
//机型
|
#define IS_IPHONE_X (PBScreenHeight >= 812.0f) ? YES : NO
|
#define IPHONE_X_TOP 44
|
#define IPHONE_X_BOTTOM 34
|
//打印宏
|
#ifdef DEBUG
|
#define PBNSLog(fmt, ...) fprintf(stderr,"%s:%d\t%s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:fmt, ##__VA_ARGS__] UTF8String]);
|
#else
|
#define NSLog(...)
|
#endif
|
|
#define AES_Key @"MK4ZJF10PRO19*#8"
|
#define AES_Iv @"*BIM19FF4KMY0R8*"
|
|
#define BaseUrl [[NSString getApiData] valueForKey:@"NewApi"]
|
#define BimUrl [[NSString getApiData] valueForKey:@"ModelApi"]
|
#define WebUrl [[NSString getApiData] valueForKey:@"NewWeb"]
|
#define PanoramaUrl [[NSString getApiData] valueForKey:@"Panorama"]
|
#define Realname [[NSString getLoginData] valueForKey:@"RealName"]
|
#define UserID [[NSString getLoginData] valueForKey:@"UserId"]
|
#define Account [[NSString getLoginData] valueForKey:@"Account"]
|
#define Token [NSString getToken]
|
|
|
//https 证书名称切换
|
|
#define STARNAME [[NSString getApiData] valueForKey:@"StarName"]
|
|
//通知宏
|
#define PBNoteCenter [NSNotificationCenter defaultCenter]
|
|
// 屏幕宽高宏
|
#define MainScreenWidth [UIScreen mainScreen].bounds.size.width
|
#define MainScreenHeight [UIScreen mainScreen].bounds.size.height
|
#import "PBBackNavItem.h"
|
#import "PBResultVideo.h"
|
//类库
|
#import <UIKit/UIKit.h>
|
#import <Foundation/Foundation.h>
|
//分类
|
#import "PBAdditonal.h"
|
#import "AppDelegate.h"
|
//第三方类库
|
#import <YYModel.h>
|
#import <Masonry.h>
|
#import <MBProgressHUD.h>
|
#import <MJRefresh.h>
|
#import <UIImageView+WebCache.h>
|
#import <TZImagePickerController.h>
|
#import <TZLocationManager.h>
|
#import <TZImageManager.h>
|
#import <LFImagePickerController.h>
|
#import <Photos/PHPhotoLibrary.h>
|
#import "SDPhotoBrowser.h"
|
#import <UMShare/UMShare.h>
|
#import <UMCommon/UMCommon.h>
|
|
//加密
|
#import "JHAES.h"
|
#import "PBNetworkModel.h"
|
//#import <FMDB.h>
|
//网络请求类
|
#import "PBNetworkTools.h"
|
#import "YJProgressHUD.h"
|
#import "PBAVPlayerManager.h"
|
//公共播放器
|
//#import "PBAVPlayerManager.h"
|
|
//本地数据库操作类
|
//#import "PBDatebaseQueueManager.h"
|
//公共类
|
#import "PBComon.h"
|
//加密类
|
//#import "PGGCryptoDES.h"
|
#endif
|
#endif /* PrefixHeader_pch */
|