• 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: [newbie] Updating an NSProgressIndicator in a for loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [newbie] Updating an NSProgressIndicator in a for loop


  • Subject: Re: [newbie] Updating an NSProgressIndicator in a for loop
  • From: Greg Hulands <email@hidden>
  • Date: Sun, 9 Mar 2003 15:00:04 +1000

Hi Mike,
Do a [myProgressBar setNeedsDisplay:YES]; and all should be good.

Greg

On Sunday, March 9, 2003, at 11:38 AM, Mike Benonis wrote:

Hi,
I'm working on a little program that updates an NSProgressIndicator in a
tight for loop. However, the drawing doesn't occur until the loop is
finished, whish isn't really helpful. Is there an equivalent of REALbasic's
ProgressBar.Refresh and/or Window.Refresh message in Cocoa to force a screen
update immediately (even at the cost of speed)?

-Mike
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >[newbie] Updating an NSProgressIndicator in a for loop (From: Mike Benonis <email@hidden>)

  • Prev by Date: Trying to connect my Controller Class to my Model Class
  • Next by Date: Re: Threaded data freaking out
  • Previous by thread: [newbie] Updating an NSProgressIndicator in a for loop
  • Next by thread: Re: [newbie] Updating an NSProgressIndicator in a for loop
  • Index(es):
    • Date
    • Thread