On Jul 19, 2010, at 14:24:17, Kyle Sluder wrote:

> On Mon, Jul 19, 2010 at 1:33 PM, Rick Mann <rm...@latencyzero.com> 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.

Oh, no kidding. Okay.

> 2. You should use an NSWindowController.

Yeah, I decided to go ahead and add one.

Thanks.

> 
> --Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to