CBRManagedObjectCache 1.4.1

CBRManagedObjectCache 1.4.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Oct 2015

Maintained by Oliver Letterer.



A lightweight cache for Your NSManagedObjectContext.

Usage

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

Installation

Author

Oliver Letterer, [email protected]

License

CBRManagedObjectCache is available under the MIT license. See the LICENSE file for more info.