mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Ported RestKit to using managed object contexts with concurrency types. Numerous cleanups and API updates.
This commit is contained in:
23
Code/ObjectMapping/RKMapping.m
Normal file
23
Code/ObjectMapping/RKMapping.m
Normal file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// RKMapping.m
|
||||
// RestKit
|
||||
//
|
||||
// Created by Blake Watters on 2/15/12.
|
||||
// Copyright (c) 2009-2012 RestKit. All rights reserved.
|
||||
//
|
||||
|
||||
#import "RKMapping.h"
|
||||
|
||||
@implementation RKMapping
|
||||
|
||||
@synthesize rootKeyPath;
|
||||
@synthesize forceCollectionMapping;
|
||||
|
||||
- (BOOL)isEqualToMapping:(RKMapping *)otherMapping
|
||||
{
|
||||
@throw [NSException exceptionWithName:NSInternalInconsistencyException
|
||||
reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)]
|
||||
userInfo:nil];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user