views:

39

answers:

1

Hello, I'm using an NSProgressIndicator and it only redraws after the main event loop. The spinner however never starts or stops. I am using the following code to start the progress indicator:

 [progressIndicator startAnimating];

It is also synthesized, and included properly in the .h and .m files. I have connected it in IB.

The code doesn't seem to work for the progress bar or the spinner.

+4  A: 

startAnimating isn't a method of NSProgressIndicator. Try:

[progressIndicator startAnimation:self];

Also check out setUsesThreadedAnimation:, which might help you out.

Carl Norum