Re: multi-window document best practices?
Re: multi-window document best practices?
- Subject: Re: multi-window document best practices?
- From: "email@hidden" <email@hidden>
- Date: Sat, 12 May 2012 17:42:46 -0700
On May 12, 2012, at 4:45 PM, Kyle Sluder wrote:
> Document-as-File's-Owner only makes sense if you aren't overriding -makeWindowControllers.
I don't think that's the case. Certainly nothing in the docs suggest it.
Went for a drive and reflected on this a bit. I think the fact that there's a setter for NSDocument's 'window' member but not a getter, and that the underlying _window member is private should have been clues. Furthermore, the documentation for setWindow: suggests that it has a role in the nib loading mechanism.
So I think my mistake was setting the window outlet in one nib but not the other. My approach was thwarting the very mechanism on which I was depending.
_murat
_______________________________________________
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