• 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: Yong Lee <email@hidden>
  • Date: Sat, 19 Jan 2002 09:07:42 -0800

Well, yes. Actually, what I mean was, as a beginner, I tried Andy's suggestion verbatim:

[NSApp performSelector:@selector(open) withObject:MyDrawer afterDelay:1.0];

and I got "NSApp does not respond to perforSelector:". Only when I looked up performSelector: I realized it's an NSObject method so I could do something like this.

[self performSelector:@selector(open) withObject:MyDrawer afterDelay:1.0];

Yong Lee

On Saturday, January 19, 2002, at 08:53 AM, Finlay Dobbie wrote:


On Saturday, January 19, 2002, at 04:45 pm, Yong Lee wrote:

Thanks Andy. It works  except performSelector:withObject:afterDelay belongs to NSObject.

NSApp is an NSObject...

-- Finlay


  • Follow-Ups:
    • Re: Opening drawer by default
      • From: Chuck Norris <email@hidden>
    • Re: Opening drawer by default
      • From: Julien Jalon <email@hidden>
References: 
 >Re: Opening drawer by default (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: Opening drawer by default
  • Next by Date: Re: Opening drawer by default
  • Previous by thread: Re: Opening drawer by default
  • Next by thread: Re: Opening drawer by default
  • Index(es):
    • Date
    • Thread