Re: Basic Q: Where is the best place to open a drawer?
Re: Basic Q: Where is the best place to open a drawer?
- Subject: Re: Basic Q: Where is the best place to open a drawer?
- From: Kyle Sluder <email@hidden>
- Date: Mon, 19 Jul 2010 14:24:17 -0700
On Mon, Jul 19, 2010 at 1:33 PM, Rick Mann <email@hidden> wrote:
> I have a basic NSDocument-based app with no window controllers. When the document's single window opens (as a result of a New or Open command), I want to open a drawer attached to it. But I don't immediately see in NSDocument how to know that the window has just opened. Where might be a good place to put a call to -[NSDrawer open]?
1. You shouldn't use drawers anymore, as per the HIG.
2. You should use an NSWindowController.
--Kyle Sluder
_______________________________________________
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