mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-06-12 17:18:57 +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
28 lines
704 B
Objective-C
28 lines
704 B
Objective-C
//
|
|
// RKMappableObject.h
|
|
// RestKit
|
|
//
|
|
// Created by Jeremy Ellison on 8/17/09.
|
|
// Copyright 2009 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "RKMappableAssociation.h"
|
|
|
|
@interface RKMappableObject : NSObject {
|
|
NSDate* _dateTest;
|
|
NSNumber* _numberTest;
|
|
NSString* _stringTest;
|
|
NSURL* _urlTest;
|
|
RKMappableAssociation* _hasOne;
|
|
NSSet* _hasMany;
|
|
}
|
|
|
|
@property (nonatomic, retain) NSDate* dateTest;
|
|
@property (nonatomic, retain) NSNumber* numberTest;
|
|
@property (nonatomic, retain) NSString* stringTest;
|
|
@property (nonatomic, retain) NSURL* urlTest;
|
|
@property (nonatomic, retain) RKMappableAssociation* hasOne;
|
|
@property (nonatomic, retain) NSSet* hasMany;
|
|
|
|
@end |