RestKit/RestKit — pull request #718 by rbishop (2012-05-06 17:47:41+00:00)
Title: Ability to supply predicate creation block when mapping CoreData relationships

Related to issue #593 this adds the ability to specify a block that creates an NSPredicate which then locates the destination of the relationship. This gives full control over how the relationship ends up being mapped.

- (void)connectRelationship:(NSString *)relationshipName usingForeignKeyAttribute:(NSString *)keyAttribute
mapping:(RKManagedObjectMapping *)mapping
usingCreatePredicateBlock:(NSPredicate*(^)(NSString*,id,id,RKObjectMapping*))block;