NSProgressIndicator not accepting updates
NSProgressIndicator not accepting updates
- Subject: NSProgressIndicator not accepting updates
- From: Aaron Wallis <email@hidden>
- Date: Thu, 22 Jan 2009 21:31:20 +1100
Hi there,
This is probably a really obvious bug, but I can't seem to get my
NSProgressIndicator to show progress when using incrementBy: or
setDoubleValue:.
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]);
now when I run the application the progress bar is just doing it's
barber shop thing and no progress is indicated.
When I check the logs out I simply get a result of "0" instead of the
0.5 i set.
Even when I try to set the min and max values and use larger numbers
(say a range from 0 to 100, and increment to 50) it still doesn't
update.
I can't seem to work it out and I (sadly) have wasted so much time on
a seemingly simple task.
Does anyone have any pointers on where I could be going wrong?
Cheers
_______________________________________________
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