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: Bill Cheeseman <email@hidden>
- Date: Tue, 20 Jul 2010 07:29:48 -0400
On Jul 19, 2010, at 5:24 PM, Kyle Sluder wrote:
> 1. You shouldn't use drawers anymore, as per the HIG.
I believe you are mistaken. The current version of the HIG says, in the Drawers topic, "Use drawers only for controls that need to be accessed fairly frequently but that don't need to be visible all the time." Drawers fill a very important role in the user interface, IMHO, and I'm not aware that they've been officially dissed.
I am aware that there is a perception floating around that drawers are on the way out, perhaps because of Preview and similar Apple apps that have tried to substitute an internal pane that grabs real estate from the window's main view without expanding the window. But I find these new drawer alternatives to be very awkward, because they alter the main window view in ways that sometimes hide information. I haven't seen anything that effectively takes the place of drawers.
I would say to the OP, however, that a drawer should not be opened automatically when the user first opens the window. A drawer should only open when the user requests it to open, or perhaps if the user left it open the last time he/she used the window.
Of course, this isn't what the OP asked about, and we should focus on the question. I've always wanted a -windowDidOpen: delegate method, but it's never been offered. The closest substitutes are -windowDidBecomeKey: and -windowDidBecomeMain:, and neither of them fits the bill.
--
Bill Cheeseman - email@hidden
_______________________________________________
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