FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSURLRequestCreations.h
Go to the documentation of this file.
1 //
2 // NSURLRequestCreations.h
3 // FoundationExtension
4 //
5 // Created by Jeong YunWon on 12. 11. 2..
6 // Copyright (c) 2012 youknowone.org. All rights reserved.
7 //
8 
14 #import <Foundation/Foundation.h>
15 
20 
28 - (instancetype)initWithContentsOfURLRequest:(NSURLRequest *)request;
33 + (instancetype)dataWithContentsOfURLRequest:(NSURLRequest *)request;
34 
43 - (instancetype)initWithContentsOfURLRequest:(NSURLRequest *)request error:(NSError **)errorPtr;
48 + (instancetype)dataWithContentsOfURLRequest:(NSURLRequest *)request error:(NSError **)errorPtr;
49 
55 - (instancetype)initWithContentsOfURL:(NSURL *)url postBody:(NSDictionary *)bodyDictionary encoding:(NSStringEncoding)encoding __deprecated;
59 + (instancetype)dataWithContentsOfURL:(NSURL *)url postBody:(NSDictionary *)bodyDictionary encoding:(NSStringEncoding)encoding __deprecated;
60 
61 @end
62 
63 
68 
76 - (instancetype)initWithContentsOfURLRequest:(NSURLRequest *)request;
81 + (instancetype)arrayWithContentsOfURLRequest:(NSURLRequest *)request;
82 
92 - (instancetype)initWithContentsOfURLRequest:(NSURLRequest *)request format:(NSPropertyListFormat *)format error:(NSError **)error;
97 + (instancetype)arrayWithContentsOfURLRequest:(NSURLRequest *)request format:(NSPropertyListFormat *)format error:(NSError **)error;
98 
99 @end
100 
101 
106 
114 - (instancetype)initWithContentsOfURLRequest:(NSURLRequest *)request;
119 + (instancetype)dictionaryWithContentsOfURLRequest:(NSURLRequest *)request;
120 
130 - (instancetype)initWithContentsOfURLRequest:(NSURLRequest *)request format:(NSPropertyListFormat *)format error:(NSError **)error;
135 + (instancetype)dictionaryWithContentsOfURLRequest:(NSURLRequest *)request format:(NSPropertyListFormat *)format error:(NSError **)error;
136 
137 @end
Creation methods extension using NSURLRequest.
Definition: NSURLRequestCreations.h:105
Creation methods extension using NSURLRequest.
Definition: NSURLRequestCreations.h:67
Creation methods extension using NSURLRequest.
Definition: NSURLRequestCreations.h:19