PrefixHeader.pch 2.54 KB
Newer Older
曹云霄's avatar
曹云霄 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//
//  PrefixHeader.pch
//  Lighting
//
//  Created by 曹云霄 on 16/4/27.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#ifndef PrefixHeader_pch
#define PrefixHeader_pch
#import "MBProgressHUD.h"
#import "MJRefresh.h"
#import "MMDrawerController.h"
#import "RightViewController.h"
#import "IQKeyboardManager.h"
曹云霄's avatar
曹云霄 committed
16 17
#import "AFNetworking.h"
#import "NetworkRequestClassManager.h"
曹云霄's avatar
曹云霄 committed
18 19 20
#import "NSArray+Objectwithindex.h"
#import "ShoppingViewController.h"
#import "ClientViewController.h"
曹云霄's avatar
曹云霄 committed
21
#import "Masonry.h"
22 23 24
#import "PopoverViewController.h"
#import "Jastor.h"
#import "opple_objc_json_client.h"
曹云霄's avatar
曹云霄 committed
25
#import "HENLENSONG.h"
曹云霄's avatar
曹云霄 committed
26 27 28 29 30 31
// 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.




曹云霄's avatar
曹云霄 committed
32

曹云霄's avatar
曹云霄 committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
/**
 *  AppDelegate代理
 */
#define SHARED_APPDELEGATE ((AppDelegate *)([UIApplication sharedApplication].delegate))

/**
 *  屏幕的物理高度
 */
#define ScreenHeight   [UIScreen mainScreen].bounds.size.height

/**
 *  导航栏高度
 */
#define NavigationHeight 64

/**
 *  屏幕的物理宽度
 */
#define ScreenWidth    [UIScreen mainScreen].bounds.size.width

/**
 *  定义UIImage对象
 */
#define TCImage(imageName) [UIImage imageNamed:[NSString stringWithFormat:@"%@",imageName]]


/**
 *  AppDelegate代理
 */
#define SHARED_APPDELEGATE ((AppDelegate *)([UIApplication sharedApplication].delegate))

/**
 *  屏幕的物理高度
 */
#define ScreenHeight   [UIScreen mainScreen].bounds.size.height

/**
 *  屏幕的物理宽度
 */
#define ScreenWidth    [UIScreen mainScreen].bounds.size.width

/**
 *  定义UIImage对象
 */
#define TCImage(imageName) [UIImage imageNamed:[NSString stringWithFormat:@"%@",imageName]]

/**
 *  获取RGB颜色
 */
#define kTCColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]

/**
 * 右侧菜单宽度
 */
#define RightWidth 200

/**
 *  0
 */
#define Zero 0

曹云霄's avatar
曹云霄 committed
94 95 96 97 98
/**
 *  断网标示
 */
#define BROKEN @"-1"

曹云霄's avatar
曹云霄 committed
99 100 101
/**
 *  主题蓝色
 */
102 103 104
#define kMainBlueColor [UIColor colorWithRed:89/255.0 green:172/255.0 blue:220/255.0 alpha:1.0]


曹云霄's avatar
曹云霄 committed
105

曹云霄's avatar
曹云霄 committed
106 107 108
/**
 *  默认圆角系数
 */
109
#define kCornerRadius 5
曹云霄's avatar
曹云霄 committed
110 111


112 113 114 115
/**
 *  主题灰色
 */
#define kMainGrayColor [UIColor colorWithRed:241/255.0 green:241/255.0 blue:241/255.0 alpha:1.0]
曹云霄's avatar
曹云霄 committed
116 117


曹云霄's avatar
曹云霄 committed
118 119 120 121
/**
 *  筛选框复选按钮圆角尺寸
 */
#define kSelectedCornerRadius 20
曹云霄's avatar
曹云霄 committed
122 123


124 125 126 127 128
/**
 *  服务器地址
 */
#define ServerAddress @"http://service.bloem.cn/opple-web/app"

曹云霄's avatar
曹云霄 committed
129 130 131 132 133 134






曹云霄's avatar
曹云霄 committed
135 136 137 138 139 140





#endif /* PrefixHeader_pch */