TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Oliver Letterer.
A lightweight cache for Your NSManagedObjectContext
.
Get the cache for Your NSManagedObjectContext
:
NSManagedObjectContext *context = ...;
CDCManagedObjectCache *cache = context.cdc_cache;
CDCManagedObjectCache
allows You to cache and query managed objects by a single attribute:
@interface CDCManagedObjectCache : NSObject
- (id)objectOfType:(NSString *)type withValue:(id)value forAttribute:(NSString *)attribute;
- (NSDictionary *)indexedObjectsOfType:(NSString *)type withValues:(NSSet *)values forAttribute:(NSString *)attribute;
@end
Oliver Letterer, [email protected]
CDCManagedObjectCache is available under the MIT license. See the LICENSE file for more info.