• 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: Managed Object Context Reference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Managed Object Context Reference


  • Subject: Re: Managed Object Context Reference
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 31 May 2010 15:04:00 -0700

On May 31, 2010, at 14:54, Quincey Morris wrote:

> 	self.managedObjectContext = self.windowControllerOutlet.document.managedObjectContext;

BTW, if it can happen that the window is loaded before the window controller is added to the the document's window controller list, windowControllerOutlet.document would still be nil at awakeFromNib time. Handling that case requires a bit of extra work.


_______________________________________________

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: 
 >Managed Object Context Reference (From: Richard Somers <email@hidden>)
 >Re: Managed Object Context Reference (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Core Animation - Animation Sequence
  • Next by Date: Re: Stealing settings from Mail.app
  • Previous by thread: Re: Managed Object Context Reference
  • Next by thread: Re: Managed Object Context Reference
  • Index(es):
    • Date
    • Thread