• 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: Opening drawer by default
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening drawer by default


  • Subject: Re: Opening drawer by default
  • From: Richard Schreyer <email@hidden>
  • Date: Fri, 18 Jan 2002 21:45:30 -0800

On 1/18/02 8:28 PM, "Yong Lee" <email@hidden> wrote:

> I'm trying to have a drawer open by default by sending it "open" method
> in "windowDidLoad". When I check the state after the "open" message it
> says the drawer is opening. But nothing happens. Visually it's closed,
> but the state says it's open. I can toggle it open/close by sending
> toggle: message from a button. Is "windowDidLoad" the wrong place for
> this? What am I doing wrong?
>
> Your help would be much appreciated.

If your class is being instantiated from a nib file, placing the open
message in -awakeFromNib might work better. See the NSBundle documentation
(I think...)

Richard Schreyer


  • Follow-Ups:
    • Re: Opening drawer by default
      • From: Yong Lee <email@hidden>
References: 
 >Opening drawer by default (From: Yong Lee <email@hidden>)

  • Prev by Date: Re: Getting rid of explorers
  • Next by Date: Re: Altivec & NSImage (NSBitmapImageRep) question
  • Previous by thread: Opening drawer by default
  • Next by thread: Re: Opening drawer by default
  • Index(es):
    • Date
    • Thread