• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Basic Q: Where is the best place to open a drawer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Rick Mann <email@hidden>
  • Date: Mon, 19 Jul 2010 15:30:17 -0700

On Jul 19, 2010, at 15:28:24, Kyle Sluder wrote:

> On Mon, Jul 19, 2010 at 2:33 PM, Laurent Daudelin
> <email@hidden> wrote:
>> On Jul 19, 2010, at 14:24, Kyle Sluder wrote:
>>
>>> 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.
>>
>> I didn't know the drawers were no longer in the favors of the powers that be. Where is this mentioned, out of curiosity and my self edification?
>
> At the risk of sounding like a liar, I can't find it in the HIG or in
> the AppKit release notes. I could have sworn it said to use source
> lists instead of drawers.

Ah, it does, in the context of navigating hierarchical data. But "for controls that need to be accessed fairly frequently but that don’t need to be visible all the time," drawers apparently are appropriate.


>
> My apologies.
>
> --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

  • Follow-Ups:
    • Re: Basic Q: Where is the best place to open a drawer?
      • From: Mike Abdullah <email@hidden>
References: 
 >Basic Q: Where is the best place to open a drawer? (From: Rick Mann <email@hidden>)
 >Re: Basic Q: Where is the best place to open a drawer? (From: Kyle Sluder <email@hidden>)
 >Re: Basic Q: Where is the best place to open a drawer? (From: Laurent Daudelin <email@hidden>)
 >Re: Basic Q: Where is the best place to open a drawer? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Basic Q: Where is the best place to open a drawer?
  • Next by Date: Re: Basic Q: Where is the best place to open a drawer?
  • Previous by thread: Re: Basic Q: Where is the best place to open a drawer?
  • Next by thread: Re: Basic Q: Where is the best place to open a drawer?
  • Index(es):
    • Date
    • Thread