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

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


  • Follow-Ups:
    • Re: NSProgressIndicator not accepting updates
      • From: Andy Lee <email@hidden>
References: 
 >NSProgressIndicator not accepting updates (From: Aaron Wallis <email@hidden>)
 >Re: NSProgressIndicator not accepting updates (From: Randall Meadows <email@hidden>)

  • Prev by Date: Re: Switching NSDocument based application to tabbed views interface
  • Next by Date: Re: Bug with QTCaptureLayer..........?
  • Previous by thread: Re: NSProgressIndicator not accepting updates
  • Next by thread: Re: NSProgressIndicator not accepting updates
  • Index(es):
    • Date
    • Thread