Re: Managed Object Context Reference
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