mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-23 20:31:13 +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:
25
Code/ObjectMapping/RKErrorMessage.m
Normal file
25
Code/ObjectMapping/RKErrorMessage.m
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// RKError.m
|
||||
// RestKit
|
||||
//
|
||||
// Created by Jeremy Ellison on 5/10/11.
|
||||
// Copyright 2011 Two Toasters. All rights reserved.
|
||||
//
|
||||
|
||||
#import "RKErrorMessage.h"
|
||||
|
||||
|
||||
@implementation RKErrorMessage
|
||||
|
||||
@synthesize errorMessage = _errorMessage;
|
||||
|
||||
- (void)dealloc {
|
||||
[_errorMessage release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (NSString*)description {
|
||||
return _errorMessage;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user