Re: NSProgressIndicator not accepting updates
Re: NSProgressIndicator not accepting updates
- Subject: Re: NSProgressIndicator not accepting updates
- From: Andy Lee <email@hidden>
- Date: Thu, 22 Jan 2009 14:33:09 -0500
What are the min and max values? The defaults in IB are 20 and 100,
so maybe you aren't seeing anything because the initial value of 0.5
is too small.
--Andy
On Jan 22, 2009, at 2:17 PM, Aaron Wallis wrote:
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
_______________________________________________
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