Re: NSTextField too slow to update
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