Declared in NSEntityDescription+MagicalDataImport.h

Tasks

Instance Methods

MR_attributeDescriptionForName:

- (NSAttributeDescription *)MR_attributeDescriptionForName:(NSString *)name
Discussion
Safely returns an attribute description for the given name, otherwise returns nil. In certain circumstances, the keys of the dictionary returned by `attributesByName` are not standard NSStrings and won't match using object subscripting or standard `objectForKey:` lookups.

There may be performance implications to using this method if your entity has hundreds or thousands of attributes.

Parameters

name

Name of the attribute description in the attributesByName dictionary on this instance

Return Value

The attribute description for the given name, otherwise nil

Declared In

NSEntityDescription+MagicalDataImport.h

MR_createInstanceInContext:

- (NSManagedObject *)MR_createInstanceInContext:(NSManagedObjectContext *)context

MR_primaryAttributeToRelateBy

- (NSAttributeDescription *)MR_primaryAttributeToRelateBy