mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-01 22:42:51 +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
29 lines
654 B
Objective-C
29 lines
654 B
Objective-C
//
|
|
// RKObjectPropertyInspector.h
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 3/4/10.
|
|
// Copyright 2010 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
@interface RKObjectPropertyInspector : NSObject {
|
|
NSMutableDictionary* _cachedPropertyNamesAndTypes;
|
|
}
|
|
|
|
+ (RKObjectPropertyInspector*)sharedInspector;
|
|
|
|
/**
|
|
* Returns a dictionary of names and types for the properties of a given class
|
|
*/
|
|
- (NSDictionary *)propertyNamesAndTypesForClass:(Class)objectClass;
|
|
|
|
/**
|
|
Returns the Class type of the specified property on the object class
|
|
*/
|
|
- (Class)typeForProperty:(NSString*)propertyName ofClass:(Class)objectClass;
|
|
|
|
@end
|