BBAGlobalMacro.h
1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// BBAGlobalMacro.h
// BBAPods
//
// Created by guojin on 14-8-19.
// Copyright (c) 2014年 Baidu. All rights reserved.
//
/******************************************************************************/
// 描述:与业务逻辑无关的宏定义(系统版本号、URL和字符串)
// 场景:各代码块使用的地方
// 用法:
/******************************************************************************/
#ifndef BBAGlobalMacro_h
#define BBAGlobalMacro_h
#import "BBAGlobalResource.h"
// 系统版本号枚举
#define IOS_2_0 @"2.0"
#define IOS_3_0 @"3.0"
#define IOS_4_0 @"4.0"
#define IOS_5_0 @"5.0"
#define IOS_5_1 @"5.1"
#define IOS_5_0_1 @"5.0.1"
#define IOS_6_0 @"6.0"
#define IOS_6_0_1 @"6.0.1"
#define IOS_7_0 @"7.0"
#define IOS_7_1 @"7.1"
#define IOS_8_0 @"8.0"
#define IOS_8_2 @"8.2"
#define IOS_8_3 @"8.3"
#define IOS_8_4 @"8.4"
#define IOS_9_0 @"9.0"
#define IOS_10_0 @"10.0"
#define IOS_10_2 @"10.2"
#define IOS_10_3 @"10.3"
#define IOS_11_0 @"11.0"
//URL与HTTP相关
#define BLANK_URL @"about:blank"
#define STRING_URL_HTTP @"http"
#define STRING_URL_PREFIX @"http://"
#define STRING_URL_PREFIX_S @"https://"
/*
*字符串相关
**/
#define DEVICE_PLATFORM_STR @"iphone"
#define STRING_NUL_VALUE @"NUL"
#define OSVERSION_NUL_VALUE @"0.0"
#endif