mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-11 11:39:05 +08:00
* Removed RestKit from inheritance hierarchy * Mappings are implemented as concrete classes * Mapper is much more flexible & powerful * Much more robust error handling * Serialization is reimplemented as an object mapping operation * Added ability to serialize to JSON natively * Reworked Core Data integration * Simplified the codebase substantially
20 lines
436 B
Objective-C
20 lines
436 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;
|
|
|
|
@end
|