Re: NSProgressIndicator not accepting updates
Re: NSProgressIndicator not accepting updates
- Subject: Re: NSProgressIndicator not accepting updates
- From: Aaron Wallis <email@hidden>
- Date: Fri, 23 Jan 2009 06:17:29 +1100
Yeah, I realised that "%d" should be "%f" shorly after I send the
email - however, even after I changed it the progress indicator still
didn't update itself, and the value echo'ed was 20.5!?
I tried tinkering with the intdeterminate setting but, although it
stopped the barber shop animation, it didn't display the progress.
Any other ideas?
On 23/01/2009, at 2:35 AM, Randall Meadows wrote:
On Jan 22, 2009, at 3:31 AM, Aaron Wallis wrote:
As an example, i've got a controller which has a
NSProgressIndicator bound to it through IB, and on the awakeFromNib
method I've got a little bit of code:
double tD = 0.5;
[progressBar setDoubleValue:tD];
NSLog(@"%d", [progressBar doubleValue]);
%d print integers, not doubles.
now when I run the application the progress bar is just doing it's
barber shop thing and no progress is indicated.
Have you called -setIndeterminate:NO on the progress bar, or
otherwise unchecked the Indeterminate checkbox in IB?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden