Re: menu madness with retain count
Re: menu madness with retain count
- Subject: Re: menu madness with retain count
- From: Uli Kusterer <email@hidden>
- Date: Wed, 28 Apr 2010 07:51:15 +0200
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@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