[self setPrimitiveValue:atype forKey:@"type"];
return [self primitiveValueForKey:@"type"];
@property (nonatomic, retain) NSString * type;
@Graham - Just double checked, you have to synthesize if you are going to use your MO properties as Obj-C 2.0 properties. Please explain.
Case conventions are up to you but Camel Caps is nominally normal with Cocoa. But its much like an object such as Big Furry Cat becomes bigFurryCat. Follow the style in the apple examples.
Do you have corresponding @dynamic block in the .m file for these properties and
Dont use Capitalised properties, coding conventions are that properties are lowercase for the first letter at least so that when the compiler synthesises the methods.
if you synthesize properties you get ivar-backed properties, which you don't want with NSManagedObject subclasses. You want to allow NSManagedObject to lazily provide the accessors using the entity description.
in the background. Though you cant see that code ever.
synthesized methods, in a managed object?