• 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
NSProgressIndicator not accepting updates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSProgressIndicator not accepting updates
      • From: Randall Meadows <email@hidden>
    • Re: NSProgressIndicator not accepting updates
      • From: Robert Martin <email@hidden>
  • Prev by Date: Re: Is there any mirroring in the Cocoa UI ?
  • Next by Date: Re: NSProgressIndicator not accepting updates
  • Previous by thread: Re: Core Data: Saving Permanent IDs in Document-Based App
  • Next by thread: Re: NSProgressIndicator not accepting updates
  • Index(es):
    • Date
    • Thread