Adding ivars to NSManagedObject subclass
- by The Crazy Chimp
When I create an entity using core data then generate a subclass of NSManagedObject from it I get the following output (in the .h):
@class Foo;
@interface Foo : NSManagedObject
@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSSet *otherValues;
@end
However, in my .m file I want to make use of the name and…