-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathPSEmojiCategory.h
75 lines (64 loc) · 1.86 KB
/
PSEmojiCategory.h
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#import <Foundation/Foundation.h>
/*
iOS 5 - 8.2
PSEmojiCategoryRecent = 0,
PSEmojiCategoryPeople = 1,
PSEmojiCategoryNature = 2,
PSEmojiCategoryObjects = 3,
PSEmojiCategoryPlaces = 4,
PSEmojiCategorySymbols = 5
*/
/*
iOS 8.3 - 8.4
PSEmojiCategoryRecent = 0,
PSEmojiCategoryPeople = 1,
PSEmojiCategoryNature = 2,
PSEmojiCategoryFoodAndDrink = 3,
PSEmojiCategoryCelebration = 4,
PSEmojiCategoryActivity = 5,
PSEmojiCategoryTravelAndPlaces = 6,
PSEmojiCategoryObjectsAndSymbols = 7,
PSEmojiCategoryPrepopulated = 8
*/
/*
iOS 9.0
PSEmojiCategoryRecent = 0,
PSEmojiCategoryPeople = 1,
PSEmojiCategoryNature = 2,
PSEmojiCategoryFoodAndDrink = 3,
PSEmojiCategoryCelebration = 4,
PSEmojiCategoryActivity = 5,
PSEmojiCategoryTravelAndPlaces = 6,
PSEmojiCategoryFlags = 7,
PSEmojiCategoryObjectsAndSymbols = 8,
PSEmojiCategoryPrepopulated = 9
*/
// Compatibility
typedef NS_ENUM(NSInteger, IDXPSEmojiCategory) {
IDXPSEmojiCategoryRecent = 0,
IDXPSEmojiCategoryPeople = 1,
IDXPSEmojiCategoryNature = 2,
IDXPSEmojiCategoryFoodAndDrink = 3,
IDXPSEmojiCategoryActivity = 4,
IDXPSEmojiCategoryTravelAndPlaces = 5,
IDXPSEmojiCategoryObjects = 6,
IDXPSEmojiCategorySymbols = 7,
IDXPSEmojiCategoryFlags = 8,
IDXPSEmojiCategoryPrepopulated = 9
};
// iOS 9.1+
typedef NS_ENUM(NSInteger, PSEmojiCategory) {
PSEmojiCategoryRecent = 0,
PSEmojiCategoryPeople = 1,
PSEmojiCategoryNature = 2,
PSEmojiCategoryFoodAndDrink = 3,
PSEmojiCategoryCelebration = 4,
PSEmojiCategoryActivity = 5,
PSEmojiCategoryTravelAndPlaces = 6,
PSEmojiCategoryFlags = 7,
PSEmojiCategoryObjectsAndSymbols = 8,
PSEmojiCategoryPrepopulated = 9,
PSEmojiCategoryObjects = 10,
PSEmojiCategorySymbols = 11
};
// iOS 9.1+ default category order: 0, 1, 2, 3, 5, 6, 10, 11, 7