• 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: NSTextField too slow to update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField too slow to update


  • Subject: Re: NSTextField too slow to update
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 22 Aug 2009 19:14:26 -0700

On Aug 22, 2009, at 18:41, PCWiz wrote:

I have a large list of files that are being copied in my app, and after each file I need it to update the NSTextField so that it reads something like this:

Processing file X of X

The problem is that the text field is way too slow in updating its value. So slow infact that nothing appears on the text field until all the files have been copied.

Updating text fields isn't that slow. Most likely the reason it isn't updating is something like:


-- you're updating the status field from a thread other than the main thread

-- the status field is bound to a property that isn't being updated KVO-compliantly

-- you've stalled event processing in the main thread so no updates are getting processed


_______________________________________________

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


References: 
 >NSTextField too slow to update (From: PCWiz <email@hidden>)

  • Prev by Date: Re: NSTextField too slow to update
  • Next by Date: Handling international text without text views
  • Previous by thread: Re: NSTextField too slow to update
  • Next by thread: Handling international text without text views
  • Index(es):
    • Date
    • Thread