Skip to content

Commit 9e56989

Browse files
committed
键盘小改
1 parent 471e88b commit 9e56989

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

Coding_iOS/Vendor/AGEmojiKeyboard/AGEmojiKeyBoardView.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
typedef NS_ENUM(NSInteger, AGEmojiKeyboardViewCategoryImage) {
1414
AGEmojiKeyboardViewCategoryImageEmoji,
15+
AGEmojiKeyboardViewCategoryImageEmoji_Code,
1516
AGEmojiKeyboardViewCategoryImageMonkey,
1617
AGEmojiKeyboardViewCategoryImageMonkey_Gif,
17-
AGEmojiKeyboardViewCategoryImageEmoji_Code,
1818
};
1919

2020
@protocol AGEmojiKeyboardViewDelegate;

Coding_iOS/Vendor/AGEmojiKeyboard/AGEmojiKeyBoardView.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ - (NSDictionary *)emojis {
4141

4242
- (NSString *)categoryNameAtIndex:(NSUInteger)index {
4343
// NSArray *categoryList = @[segmentRecentName, @"People", @"Objects", @"Nature", @"Places", @"Symbols"];
44-
NSArray *categoryList = @[@"emoji", @"big_monkey", @"big_monkey_gif", @"emoji_code"];
44+
NSArray *categoryList = @[@"emoji", @"emoji_code", @"big_monkey", @"big_monkey_gif"];
4545
return index < categoryList.count? categoryList[index]: categoryList.lastObject;
4646
}
4747

@@ -118,8 +118,8 @@ - (instancetype)initWithFrame:(CGRect)frame dataSource:(id<AGEmojiKeyboardViewDa
118118
__weak typeof(self) weakSelf = self;
119119
if (!showBigEmotion) {
120120
self.easeTabBar = [[UIEaseTabBar alloc] initWithFrame:CGRectMake(0, (self_Height - easeTabBar_Height), CGRectGetWidth(self.bounds), easeTabBar_Height)
121-
selectedImages:[self.imagesForSelectedSegments objectsAtIndexes:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, 1)]]
122-
unSelectedImages:[self.imagesForNonSelectedSegments objectsAtIndexes:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, 1)]]];
121+
selectedImages:[self.imagesForSelectedSegments objectsAtIndexes:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, 2)]]
122+
unSelectedImages:[self.imagesForNonSelectedSegments objectsAtIndexes:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, 2)]]];
123123
}else{
124124
self.easeTabBar = [[UIEaseTabBar alloc] initWithFrame:CGRectMake(0, (self_Height - easeTabBar_Height), CGRectGetWidth(self.bounds), easeTabBar_Height)
125125
selectedImages:self.imagesForSelectedSegments

Coding_iOS/Vendor/AGEmojiKeyboard/emotion_list.plist

+31-31
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,37 @@
8585
<string>📖</string>
8686
<string>🙏</string>
8787
</array>
88+
<key>emoji_code</key>
89+
<array>
90+
<string>1️⃣</string>
91+
<string>2️⃣</string>
92+
<string>3️⃣</string>
93+
<string>4️⃣</string>
94+
<string>5️⃣</string>
95+
<string>6️⃣</string>
96+
<string>7️⃣</string>
97+
<string>8️⃣</string>
98+
<string>9️⃣</string>
99+
<string>0️⃣</string>
100+
<string>👉</string>
101+
<string>👀</string>
102+
<string>📝</string>
103+
<string>🐒</string>
104+
<string>🐵</string>
105+
<string>🙈</string>
106+
<string>👍</string>
107+
<string>👎</string>
108+
<string>🍗</string>
109+
<string>↩️</string>
110+
<string>💩</string>
111+
<string></string>
112+
<string>🍌</string>
113+
<string>👻</string>
114+
<string>😱</string>
115+
<string>📭</string>
116+
<string>📢</string>
117+
<string>↩️</string>
118+
</array>
88119
<key>big_monkey</key>
89120
<array>
90121
<string>coding_emoji_01</string>
@@ -141,36 +172,5 @@
141172
<string>coding_emoji_gif_05</string>
142173
<string>coding_emoji_gif_08</string>
143174
</array>
144-
<key>emoji_code</key>
145-
<array>
146-
<string>1️⃣</string>
147-
<string>2️⃣</string>
148-
<string>3️⃣</string>
149-
<string>4️⃣</string>
150-
<string>5️⃣</string>
151-
<string>6️⃣</string>
152-
<string>7️⃣</string>
153-
<string>8️⃣</string>
154-
<string>9️⃣</string>
155-
<string>0️⃣</string>
156-
<string>👉</string>
157-
<string>👀</string>
158-
<string>📝</string>
159-
<string>🐒</string>
160-
<string>🐵</string>
161-
<string>🙈</string>
162-
<string>👍</string>
163-
<string>👎</string>
164-
<string>🍗</string>
165-
<string>↩️</string>
166-
<string>💩</string>
167-
<string></string>
168-
<string>🍌</string>
169-
<string>👻</string>
170-
<string>😱</string>
171-
<string>📭</string>
172-
<string>📢</string>
173-
<string>↩️</string>
174-
</array>
175175
</dict>
176176
</plist>

0 commit comments

Comments
 (0)