/var/log/seiji

06 Nov 2012

ios-utf8mb4-substring

Use this function incase of including utf8mb4(emoji)

1
2
3
4
5
6
- (void)enumerateSubstringsInRange:(NSRange)range
                           options:(NSStringEnumerationOptions)opts
                        usingBlock:(void (^)(NSString *substring,
                                             NSRange substringRange,
                                             NSRange enclosingRange,
                                             BOOL *stop))block

Comments

comments powered by Disqus