Files
RestKit/Code/Support/NSDictionary+RKAdditions.h

25 lines
600 B
Objective-C

//
// NSDictionary+RKAdditions.h
// RestKit
//
// Created by Blake Watters on 9/5/10.
// Copyright 2010 Two Toasters. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSDictionary (RKAdditions)
/**
* Creates and initializes a dictionary with key value pairs, with the keys specified
* first instead of the objects.
*/
+ (id)dictionaryWithKeysAndObjects:(id)firstKey, ... NS_REQUIRES_NIL_TERMINATION;
/**
* Strips out any percent escapes (such as %20) from the receiving dictionary's key and objects.
*/
- (NSDictionary *)removePercentEscapesFromKeysAndObjects;
@end