单军华
2018-07-11 7b02207537d35bfa1714bf8beafc921f717d100a
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
/************************************************************
 *  * 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 <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
 
@interface EaseEmotionEscape : NSObject
 
+ (EaseEmotionEscape *)sharedInstance;
 
+ (NSMutableAttributedString *) attributtedStringFromText:(NSString *) aInputText;
 
+ (NSAttributedString *) attStringFromTextForChatting:(NSString *) aInputText;
 
+ (NSAttributedString *) attStringFromTextForInputView:(NSString *) aInputText;
 
- (NSAttributedString *) attStringFromTextForChatting:(NSString *) aInputText textFont:(UIFont*)font;
 
- (NSAttributedString *) attStringFromTextForInputView:(NSString *) aInputText textFont:(UIFont*)font;
 
- (void) setEaseEmotionEscapePattern:(NSString*)pattern;
 
- (void) setEaseEmotionEscapeDictionary:(NSDictionary*)dict;
 
@end
 
@interface EMTextAttachment : NSTextAttachment
 
@property(nonatomic, strong) NSString *imageName;
 
@end