NSWindowController and nib owner in document-based app
NSWindowController and nib owner in document-based app
- Subject: NSWindowController and nib owner in document-based app
- From: "Raphael Sebbe" <email@hidden>
- Date: Wed, 7 Mar 2007 10:52:27 +0100
Hi,
Working on a vanilla document-based app, which only has an NSDocument
subclass, NSWindowController are the default ones.
What is the default owner of the document nib file ?
The docs states that it should generally be the NSWindowController, but the
document-based project template has MyDocument as the owner (with no
specific code for that). Can we assume that in the default case, this is
always the document ? The reason I am asking this is because bindings to the
file owner recently broke (after an update of the sdk?), which makes me
think that there may be a change in file owner or a proxy thing that I
shouldn't be aware of anyway. But I agree that binding to the file's owner
may be a bad practice.
Thanks
Raphael
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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