On 28.04.2010, at 07:50, Charles Srstka wrote: > On Apr 28, 2010, at 12:39 AM, Chris Hanson wrote: > >> Since NSViewController was introduced in 10.5, I would generally assume any >> Cocoa nibs these days should have a subclass of one of those two classes (or >> NSApplication, in the case of the main nib file) as its File’s Owner. > > What about NSDocument subclasses?
NSDocument uses NSWindowControllers to do its NIB loading, just passes itself in as the owner, so the NSWindowController should do its magic there, too. Cheers, -- Uli Kusterer "The Witnesses of TeachText are everywhere..." http://groups.yahoo.com/group/mac-gui-dev/ _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
