mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-21 05:45:13 +00:00
20 lines
342 B
Objective-C
Executable file
20 lines
342 B
Objective-C
Executable file
//
|
|
// NSString+OSKEmoji.m
|
|
// Unread
|
|
//
|
|
// Created by Jared on 1/18/14.
|
|
// Copyright (c) 2014 Nice Boy LLC. All rights reserved.
|
|
//
|
|
|
|
#import "NSString+OSKEmoji.h"
|
|
|
|
@implementation NSString (OSKEmoji)
|
|
|
|
- (NSUInteger)osk_lengthAdjustingForComposedCharacters {
|
|
return [self lengthOfBytesUsingEncoding:NSUTF32StringEncoding]/4;
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|