• 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: What to do?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What to do?


  • Subject: Re: What to do?
  • From: Angela Brett <email@hidden>
  • Date: Sat, 23 Feb 2002 21:34:36 +1300

I didn't see anyone else answer this, so here's a useful post to balance out my last one:

At 3:53 PM +0100 22/2/2002, Lukasz Kuczborski wrote:
[progress setIndeterminate:YES];
[progress startAnimation:progress];

...

P.S. One more: How to implement here NSThred, so my progress indicator would
start spinning during the listing of files....cause now it doesn't..;(

You don't actually need to use an NSThread directly in this case - just put [progress setUsesThreadedAnimation:YES]; near those other lines of code which set up the progress indicator.

Also, I don't know if this actually makes any difference, but you should probably pass self as the sender in startAnimation: since that is the object which actually sent the message, progress didn't tell itself to startAnimation.
--
Angela Brett email@hidden http://acronyms.co.nz/angela
A mathematician is a machine for turning coffee into theorems -- Paul Erdos
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >What to do? (From: Lukasz Kuczborski <email@hidden>)

  • Prev by Date: Re: +poseAsClass and instance variables
  • Next by Date: 2D menu
  • Previous by thread: Re: What to do?
  • Next by thread: Re: What to do?
  • Index(es):
    • Date
    • Thread