mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Refactored managed object caches and connection support to enable connecting by multiple atributes that are specified as arrays.
* Migrated the caches to return `NSSet` to eliminate duplicate objects when your cache keys overlap * Introduced new recursive strategy for building cache keys in `RKInMemoryManagedObjectCache` * Added support for array cache key values in `RKFetchRequestManagedObjectCache` * Re-enabled a slew of tests that were disabled during 0.20 development
This commit is contained in:
@@ -38,9 +38,9 @@
|
||||
@param attributeValues A dictionary specifying the attribute criteria for retrieving managed objects.
|
||||
@param managedObjectContext The context to fetch the matching objects in.
|
||||
*/
|
||||
- (NSArray *)managedObjectsWithEntity:(NSEntityDescription *)entity
|
||||
attributeValues:(NSDictionary *)attributeValues
|
||||
inManagedObjectContext:(NSManagedObjectContext *)managedObjectContext;
|
||||
- (NSSet *)managedObjectsWithEntity:(NSEntityDescription *)entity
|
||||
attributeValues:(NSDictionary *)attributeValues
|
||||
inManagedObjectContext:(NSManagedObjectContext *)managedObjectContext;
|
||||
|
||||
///---------------------------------------------------
|
||||
/// @name Handling Managed Object Change Notifications
|
||||
|
||||
Reference in New Issue
Block a user