FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
NSDictionary creation methods extension with NSData. More...
#import <NSDictionary.h>
Instance Methods | |
Initializing a Dictionary | |
(instancetype) | - initWithData: |
Initializes a newly allocated dictionary with the contents of data. Data must be property list. More... | |
(instancetype) | - initWithData:format:error: |
Initializes a newly allocated dictionary with the contents of data. Data must be property list. More... | |
Class Methods | |
Creating a Dictionary | |
(instancetype) | + dictionaryWithData: |
Creates and returns a dictionary containing the contents of data. Data must be property list. More... | |
(instancetype) | + dictionaryWithData:format:error: |
Creates and returns a dictionary containing the contents of data. Data must be property list. More... | |
NSDictionary creation methods extension with NSData.
Data must be property list.
+ (instancetype) dictionaryWithData: | (NSData *) | data |
Creates and returns a dictionary containing the contents of data. Data must be property list.
+ (instancetype) dictionaryWithData: | (NSData *) | data | |
format: | (NSPropertyListFormat *) | format | |
error: | (NSError **) | error | |
Creates and returns a dictionary containing the contents of data. Data must be property list.
- (instancetype) initWithData: | (NSData *) | data |
Initializes a newly allocated dictionary with the contents of data. Data must be property list.
data | An NSData object containing bytes of plist file representation. |
- (instancetype) initWithData: | (NSData *) | data | |
format: | (NSPropertyListFormat *) | format | |
error: | (NSError **) | error | |
Initializes a newly allocated dictionary with the contents of data. Data must be property list.
data | An NSData object containing bytes of plist file representation. |
format | A property list format. Possible values for format are described in NSPropertyListFormat. |
error | If the method does not complete successfully, upon return contains an NSError object that describes the problem. |