Re: iOS Pass NSManagedObjectContext from my app delegate
Re: iOS Pass NSManagedObjectContext from my app delegate
- Subject: Re: iOS Pass NSManagedObjectContext from my app delegate
- From: Philip Vallone <email@hidden>
- Date: Thu, 20 Jan 2011 19:54:04 -0500
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 (email@hidden)
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:
This email sent to email@hidden