From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001
From: 单军华
Date: Wed, 11 Jul 2018 10:47:42 +0800
Subject: [PATCH] 首次上传

---
 screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Util/Emoji/EaseEmotionManager.m |   82 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 82 insertions(+), 0 deletions(-)

diff --git a/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Util/Emoji/EaseEmotionManager.m b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Util/Emoji/EaseEmotionManager.m
new file mode 100755
index 0000000..b16927a
--- /dev/null
+++ b/screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Util/Emoji/EaseEmotionManager.m
@@ -0,0 +1,82 @@
+/************************************************************
+ *  * Hyphenate CONFIDENTIAL
+ * __________________
+ * Copyright (C) 2016 Hyphenate Inc. All rights reserved.
+ *
+ * NOTICE: All information contained herein is, and remains
+ * the property of Hyphenate Inc.
+ * Dissemination of this information or reproduction of this material
+ * is strictly forbidden unless prior written permission is obtained
+ * from Hyphenate Inc.
+ */
+
+#import "EaseEmotionManager.h"
+
+@implementation EaseEmotionManager
+
+- (id)initWithType:(EMEmotionType)Type
+        emotionRow:(NSInteger)emotionRow
+        emotionCol:(NSInteger)emotionCol
+          emotions:(NSArray*)emotions
+{
+    self = [super init];
+    if (self) {
+        _emotionType = Type;
+        _emotionRow = emotionRow;
+        _emotionCol = emotionCol;
+        NSMutableArray *tempEmotions = [NSMutableArray array];
+        for (id name in emotions) {
+            if ([name isKindOfClass:[NSString class]]) {
+                EaseEmotion *emotion = [[EaseEmotion alloc] initWithName:@"" emotionId:name emotionThumbnail:name emotionOriginal:name emotionOriginalURL:@"" emotionType:EMEmotionDefault];
+                [tempEmotions addObject:emotion];
+            }
+        }
+        _emotions = tempEmotions;
+        _tagImage = nil;
+    }
+    return self;
+}
+
+- (id)initWithType:(EMEmotionType)Type
+        emotionRow:(NSInteger)emotionRow
+        emotionCol:(NSInteger)emotionCol
+          emotions:(NSArray*)emotions
+          tagImage:(UIImage*)tagImage
+
+{
+    self = [super init];
+    if (self) {
+        _emotionType = Type;
+        _emotionRow = emotionRow;
+        _emotionCol = emotionCol;
+        _emotions = emotions;
+        _tagImage = tagImage;
+    }
+    return self;
+}
+
+@end
+
+@implementation EaseEmotion
+
+- (id)initWithName:(NSString*)emotionTitle
+         emotionId:(NSString*)emotionId
+  emotionThumbnail:(NSString*)emotionThumbnail
+   emotionOriginal:(NSString*)emotionOriginal
+emotionOriginalURL:(NSString*)emotionOriginalURL
+       emotionType:(EMEmotionType)emotionType
+{
+    self = [super init];
+    if (self) {
+        _emotionTitle = emotionTitle;
+        _emotionId = emotionId;
+        _emotionThumbnail = emotionThumbnail;
+        _emotionOriginal = emotionOriginal;
+        _emotionOriginalURL = emotionOriginalURL;
+        _emotionType = emotionType;
+    }
+    return self;
+}
+
+
+@end

--
Gitblit v1.8.0