FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
Shortcut for UTF8. More...
#import <NSString.h>
Instance Methods | |
(nullable NSData *) | - dataUsingUTF8Encoding |
Returns an NSData object containing a representation of the receiver encoded using UTF8 encoding. More... | |
Class Methods | |
(instancetype) | + stringWithUTF8Data: |
Creates and returns an NSString object initialized by converting given data into Unicode characters using UTF8 encoding. More... | |
Shortcut for UTF8.
- (nullable NSData *) dataUsingUTF8Encoding |
Returns an NSData object containing a representation of the receiver encoded using UTF8 encoding.
+ (instancetype) stringWithUTF8Data: | (NSData *) | data |
Creates and returns an NSString object initialized by converting given data into Unicode characters using UTF8 encoding.