Ported RestKit to using managed object contexts with concurrency types. Numerous cleanups and API updates.

This commit is contained in:
Blake Watters
2012-07-16 22:47:06 -04:00
parent cfa0df1841
commit b25a1833b3
100 changed files with 1681 additions and 1692 deletions

View File

@@ -0,0 +1,28 @@
//
// RKDynamicMappingMatcher.h
// RestKit
//
// Created by Jeff Arena on 8/2/11.
// Copyright (c) 2009-2012 RestKit. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "RKObjectMapping.h"
@interface RKDynamicMappingMatcher : NSObject {
NSString *_keyPath;
id _value;
BOOL (^_isMatchForDataBlock)(id data);
}
@property (nonatomic, readonly) RKObjectMapping *objectMapping;
@property (nonatomic, readonly) NSString *primaryKeyAttribute;
- (id)initWithKey:(NSString *)key value:(id)value objectMapping:(RKObjectMapping *)objectMapping;
- (id)initWithKey:(NSString *)key value:(id)value primaryKeyAttribute:(NSString *)primaryKeyAttribute;
- (id)initWithPrimaryKeyAttribute:(NSString *)primaryKeyAttribute evaluationBlock:(BOOL (^)(id data))block;
- (BOOL)isMatchForData:(id)data;
- (NSString *)matchDescription;
@end