CDCManagedObjectCache 1.0.0

CDCManagedObjectCache 1.0.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Oliver Letterer.



A lightweight cache for Your NSManagedObjectContext.

Usage

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

Installation

Author

Oliver Letterer, [email protected]

License

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