Declared in NSDictionary+RKAdditions.h
NSDictionary+RKAdditions.m

Overview

Provides useful additions to the NSDictionary interface.

Tasks

Class Methods

dictionaryWithKeysAndObjects:

Creates and initializes a dictionary with key value pairs, with the keys specified first instead of the objects.

+ (id)dictionaryWithKeysAndObjects:(id)firstKey, ...

Declared In

NSDictionary+RKAdditions.h

dictionaryWithURLEncodedString:

Returns a dictionary by digesting a URL encoded set of key/value pairs into unencoded values. Keys that appear multiple times with the string are decoded into an array of values.

+ (NSDictionary *)dictionaryWithURLEncodedString:(NSString *)URLEncodedString

Declared In

NSDictionary+RKAdditions.h

Instance Methods

dictionaryByReplacingPercentEscapesInEntries

Return a new dictionary by stripping out any percent escapes (such as %20) from the receiving dictionary’s key and values.

- (NSDictionary *)dictionaryByReplacingPercentEscapesInEntries

Return Value

A new dictionary wherein any percent escape sequences in the key and values have been replaced with their literal values.

Declared In

NSDictionary+RKAdditions.h

stringWithURLEncodedEntries

Returns a representation of the dictionary as a URLEncoded string

- (NSString *)stringWithURLEncodedEntries

Return Value

A UTF-8 encoded string representation of the keys/values in the dictionary

Declared In

NSDictionary+RKAdditions.h