• 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 (CallBacks)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSProgressIndicator (CallBacks)


  • Subject: Re: NSProgressIndicator (CallBacks)
  • From: "Barry" <email@hidden>
  • Date: Thu, 19 Jul 2007 08:37:41 +0100

Thanks for this

My app is doing some heavy matrix maths on images - could be busy for many minutes depending on image size etc..

I guess the CPU is so busy with this it cannot update the display.

I may have to attempt to break the maths into small units & use multi-threading but this will not be easy !

Regards

----- Original Message ----- From: "Uli Kusterer" <email@hidden>
To: "Barry" <email@hidden>
Cc: "Cocoa-list" <email@hidden>
Sent: Wednesday, July 18, 2007 5:06 PM
Subject: Re: NSProgressIndicator (CallBacks)



On 18.07.2007, at 13:09, Barry wrote:
Thanks Alastair for the help with callbacks - that's now working.
However I the NSProgressIndicator Bar is not being displayed.

I originally had a simple spinner which worked fine.
Using IB I changed it to a Bar & since then - nothing is shown.

You're not doing this in a tight loop, are you? The spinner does its work in a separate thread and ignores your "increment" calls, while the progress bar simply marks itself as needing display. The actual drawing will only happen the next time through the event loop (or more precisely, the next time the view gets a call to -display *and* someone flushes the window's back buffer.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de





--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.9/907 - Release Date: 18/07/2007 15:30



_______________________________________________

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 (CallBacks)
      • From: Alastair Houghton <email@hidden>
References: 
 >NSProgressIndicator (CallBacks) (From: "Barry" <email@hidden>)
 >Re: NSProgressIndicator (CallBacks) (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Getting PDF data from a webView
  • Next by Date: Re: NSProgressIndicator (CallBacks)
  • Previous by thread: Re: NSProgressIndicator (CallBacks)
  • Next by thread: Re: NSProgressIndicator (CallBacks)
  • Index(es):
    • Date
    • Thread