Declared in ETCoreData.h

Overview

NSManagedObject (ETCoreData) is a helper category that provides better NSManagedObject handling.

Class Methods

entityName

Returns a NSString describing the entity name of the NSManagedObject instance.

+ (NSString *)entityName

Return Value

A NSString describing the entity name of the NSManagedObject instance.

Declared In

ETCoreData.h

Instance Methods

fillFromDictionary:dateFormatter:

Fills the NSManagedObject instance with the provided NSDictionary using KVO and the provided NSDateFormatter.

- (void)fillFromDictionary:(NSDictionary *)keyedValues dateFormatter:(NSDateFormatter *)dateFormatter

Parameters

keyedValues

The NSDictionary containing the values to be used to fill the NSManagedObject instance.

dateFormatter

The NSDateFormatter that will be used to format all the NSDate objects contained in the keyedValues dictionaries.

Declared In

ETCoreData.h

isNew

Checks if the instance of the NSManagedObject is new or not.

- (BOOL)isNew

Return Value

YES if the NSManagedObject instance has never been saved, NO otherwise.

Declared In

ETCoreData.h