单军华
2018-07-12 3e8437ae559487362fae3525beb79c534c213a51
screendisplay/Pods/EaseUI/EaseUI/EMUIKit/Util/Emoji/EaseEmotionEscape.h
New file
@@ -0,0 +1,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