mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-29 05:05:34 +08:00
Reorganized categories under RKAdditions naming convention. Expanded documentation.
This commit is contained in:
@@ -21,12 +21,12 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "RKRequestSerializable.h"
|
||||
|
||||
/**
|
||||
/*
|
||||
Extends NSDictionary to enable usage as the params of an RKRequest.
|
||||
|
||||
This protocol provides a serialization of NSDictionary into a URL
|
||||
encoded string representation. This enables us to provide an NSDictionary
|
||||
as the params argument for an RKRequest.
|
||||
This category provides for the serialization of the receiving NSDictionary into a URL
|
||||
encoded string representation (MIME Type application/x-www-form-urlencoded). This
|
||||
enables NSDictionary objects to act as the params for an RKRequest.
|
||||
|
||||
@see RKRequestSerializable
|
||||
@see [RKRequest params]
|
||||
@@ -34,12 +34,4 @@
|
||||
*/
|
||||
@interface NSDictionary (RKRequestSerialization) <RKRequestSerializable>
|
||||
|
||||
/**
|
||||
Returns a representation of the dictionary as a URLEncoded string
|
||||
|
||||
@returns A UTF-8 encoded string representation of the keys/values in the dictionary
|
||||
*/
|
||||
- (NSString *)stringWithURLEncodedEntries;
|
||||
- (NSString *)URLEncodedString; // TODO: Deprecated..
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user