// // ConvertToCommonEmoticonsHelper.m // ChatDemo-UI2.0 // // Created by dujiepeng on 14-6-30. // Copyright (c) 2014ๅนด dujiepeng. All rights reserved. // #import "ConvertToCommonEmoticonsHelper.h" #import "Emoji.h" @implementation ConvertToCommonEmoticonsHelper #pragma mark - emotics + (NSString *)convertToCommonEmoticons:(NSString *)text { int allEmoticsCount = (int)[Emoji allEmoji].count; NSMutableString *retText = [[NSMutableString alloc] initWithString:text]; for(int i=0; i