mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
21 lines
342 B
Mathematica
21 lines
342 B
Mathematica
![]() |
//
|
||
|
// 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
|
||
|
|
||
|
|
||
|
|