• 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 (bar) still displays when stopped
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSProgressIndicator (bar) still displays when stopped


  • Subject: NSProgressIndicator (bar) still displays when stopped
  • From: Daryle Walker <email@hidden>
  • Date: Fri, 08 Aug 2014 00:23:18 -0400

I have a bar-style NSProgressIndicator that has its “Display When Stopped” turned off and (initially) Indeterminate turned on.  It (almost) properly updates when a load is going on:

//=====
- (void)notifyOnProgressStarted:(NSNotification *)notification  // WebViewProgressStartedNotification
{
    [self.loadingProgress startAnimation:self];
}

- (void)notifyOnProgressChanged:(NSNotification *)notification  // WebViewProgressEstimateChangedNotification
{
    [self.loadingProgress setIndeterminate:NO];
    [self.loadingProgress setDoubleValue:self.webView.estimatedProgress];
}

- (void)notifyOnProgressFinished:(NSNotification *)notification  // WebViewProgressFinishedNotification
{
    [self.loadingProgress stopAnimation:self];
}
//=====

However, the bar is still shown after the download finishes.  It goes away when I either turn off and back on the top content border it sits on or if I change the display status of the toolbar above it.  Changing the bar back to indeterminate (in the Finishing notification) makes no difference.

—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com

_______________________________________________

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 (bar) still displays when stopped
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: restricting InterfaceOrientations
  • Next by Date: Subject:
  • Previous by thread: Re: restricting InterfaceOrientations
  • Next by thread: Re: NSProgressIndicator (bar) still displays when stopped
  • Index(es):
    • Date
    • Thread