Reorganized categories under RKAdditions naming convention. Expanded documentation.

This commit is contained in:
Blake Watters
2012-04-04 09:05:54 -04:00
parent 423df93a59
commit 2723a11294
24 changed files with 178 additions and 232 deletions

View File

@@ -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