mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-07 01:41:46 +08:00
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
This commit is contained in:
@@ -18,8 +18,7 @@
|
||||
* Object attributes are encoded as a dictionary and collections
|
||||
* of objects are returned as arrays.
|
||||
*/
|
||||
- (id)objectFromString:(NSString*)string;
|
||||
|
||||
- (NSString*)stringFromObject:(id)object;
|
||||
- (id)objectFromString:(NSString*)string error:(NSError**)error;
|
||||
- (NSString*)stringFromObject:(id)object error:(NSError**)error;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user