TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Oct 2015 |
Maintained by Oliver Letterer.
A lightweight cache for Your NSManagedObjectContext
.
Get the cache for Your NSManagedObjectContext
:
NSManagedObjectContext *context = ...;
CBRManagedObjectCache *cache = context.cdc_cache;
CBRManagedObjectCache
allows You to cache and query managed objects by a single attribute:
@interface CBRManagedObjectCache : 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]
CBRManagedObjectCache is available under the MIT license. See the LICENSE file for more info.