Files
RestKit/Specs/Models/RKMappableObject.h
Blake Watters f3c0995d5e Implementation of Object Mapping 2.0 design:
* 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
2011-06-11 19:26:56 -04:00

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