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 array with the contents of the result specified by a given request. More... | |
(instancetype) | - initWithContentsOfURLRequest:format:error: |
Initializes a newly allocated array with the contents of the result specified by a given request. More... | |
Class Methods | |
(instancetype) | + arrayWithContentsOfURLRequest: |
Creates and returns an array containing the contents of the result specified by a given request. More... | |
(instancetype) | + arrayWithContentsOfURLRequest:format:error: |
Creates and returns an array containing the contents of the result specified by a given request. More... | |
Creation methods extension using NSURLRequest.
+ (instancetype) arrayWithContentsOfURLRequest: | (NSURLRequest *) | request |
Creates and returns an array containing the contents of the result specified by a given request.
+ (instancetype) arrayWithContentsOfURLRequest: | (NSURLRequest *) | request | |
format: | (NSPropertyListFormat *) | format | |
error: | (NSError **) | error | |
Creates and returns an array containing the contents of the result specified by a given request.
- (instancetype) initWithContentsOfURLRequest: | (NSURLRequest *) | request |
Initializes a newly allocated array with the contents of the result specified by a given request.
request | The URLRequest of a file containing a string representation of an array produced by the [NSData writeToURL:atomically:][0] method. |
- (instancetype) initWithContentsOfURLRequest: | (NSURLRequest *) | request | |
format: | (NSPropertyListFormat *) | format | |
error: | (NSError **) | error | |
Initializes a newly allocated array with the contents of the result specified by a given request.
request | The URLRequest of a file containing a string representation of an array 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. |