FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
Creation methods extension using NSURLRequest. More...
#import <NSURLRequestCreations.h>
Instance Methods | |
(instancetype) | - initWithContentsOfURLRequest: |
Initializes a newly allocated dictionary with the contents of the result specified by a given request. More... | |
(instancetype) | - initWithContentsOfURLRequest:format:error: |
Initializes a newly allocated dictionary with the contents of the result specified by a given request. More... | |
Class Methods | |
(instancetype) | + dictionaryWithContentsOfURLRequest: |
Creates and returns a dictionary containing the contents of the result specified by a given request. More... | |
(instancetype) | + dictionaryWithContentsOfURLRequest:format:error: |
Creates and returns a dictionary containing the contents of the result specified by a given request. More... | |
Creation methods extension using NSURLRequest.
+ (instancetype) dictionaryWithContentsOfURLRequest: | (NSURLRequest *) | request |
Creates and returns a dictionary containing the contents of the result specified by a given request.
+ (instancetype) dictionaryWithContentsOfURLRequest: | (NSURLRequest *) | request | |
format: | (NSPropertyListFormat *) | format | |
error: | (NSError **) | error | |
Creates and returns a dictionary containing the contents of the result specified by a given request.
- (instancetype) initWithContentsOfURLRequest: | (NSURLRequest *) | request |
Initializes a newly allocated dictionary with the contents of the result specified by a given request.
request | The URLRequest of a file containing a string representation of a dictionary produced by the '-writeToURL:atomically:' method. |
- (instancetype) initWithContentsOfURLRequest: | (NSURLRequest *) | request | |
format: | (NSPropertyListFormat *) | format | |
error: | (NSError **) | error | |
Initializes a newly allocated dictionary with the contents of the result specified by a given request.
request | The URLRequest of a file containing a string representation of a dictionary produced by the '-writeToURL:atomically:' method. |
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. |