• 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: Determinate NSProgressIndicator without animation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determinate NSProgressIndicator without animation?


  • Subject: Re: Determinate NSProgressIndicator without animation?
  • From: Nicolai <email@hidden>
  • Date: Sat, 15 Sep 2001 15:33:06 +0200

I've never done this before.
Could you tell me what I have to do?

Regards, Nicolai.

So why not subclass NSProgressIndicator to create a percentage
widget?

I've done it.

Just create the subclass and override the following:

- (void)startAnimation:(id)sender
{
}

- (void)stopAnimation:(id)sender
{
}

- (void)animate:(id)sender
{
}

Remove the drawRect method from the template PB provides.

Voila, done.


  • Prev by Date: Re: Determinate NSProgressIndicator without animation?
  • Next by Date: Re: Mac OS X UI
  • Previous by thread: Re: Determinate NSProgressIndicator without animation?
  • Next by thread: Re: Determinate NSProgressIndicator without animation?
  • Index(es):
    • Date
    • Thread