Hi Nick,

> Did you use the Xcode template for making a CoreData application?

Yes


> If you have declared the property to be read-only, then the retain keyword is 
> not necessary. Retain and assign are only necessary if it's a read/write 
> property, since they tell the synthesizer what to do with new values (if 
> @synthesize is in use).

This was created by xcode... so it should be:

@property (nonatomic, readonly) NSManagedObjectContext *managedObjectContext;

Thanks for the help

Phil_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to