EMEmojiHelper.h 499 B

12345678910111213141516171819202122232425262728
  1. //
  2. // EMEmojiHelper.h
  3. // ChatDemo-UI3.0
  4. //
  5. // Created by XieYajie on 2019/1/31.
  6. // Copyright © 2019 XieYajie. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface EMEmojiHelper : NSObject
  11. @property (nonatomic, strong) NSDictionary *convertEmojiDic;
  12. + (instancetype)sharedHelper;
  13. + (NSArray<NSString *> *)getAllEmojis;
  14. + (BOOL)isStringContainsEmoji:(NSString *)aString;
  15. + (NSString *)convertEmoji:(NSString *)aString;
  16. @end
  17. NS_ASSUME_NONNULL_END