Files
RestKit/Code/Support/NSDictionary+RKAdditions.h
Jeremy Ellison 6a5ee2af7e Revert "Remove per-file copyrights"
This reverts commit 91e7c6bb5e.
2011-01-12 15:27:19 -05:00

21 lines
564 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. This allows for a more sensible definition of the
* property to element and relationship mappings on RKObjectMappable classes
*/
+ (id)dictionaryWithKeysAndObjects:(id)firstKey, ... NS_REQUIRES_NIL_TERMINATION;
@end