• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iOS Pass NSManagedObjectContext from my app delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >iOS Pass NSManagedObjectContext from my app delegate (From: Philip Vallone <email@hidden>)
 >Re: iOS Pass NSManagedObjectContext from my app delegate (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: iOS Pass NSManagedObjectContext from my app delegate
  • Next by Date: Re: printing a different representation than what is on the screen
  • Previous by thread: Re: iOS Pass NSManagedObjectContext from my app delegate
  • Next by thread: Re: iOS Pass NSManagedObjectContext from my app delegate
  • Index(es):
    • Date
    • Thread