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 (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