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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to