On Oct 1, 2012, at 6:31 PM, Mike Abdullah <cocoa...@mikeabdullah.net> wrote:

> Yes, you don't understand the consequences of your code yet. AppKit is not 
> threadsafe. You absolutely MUST only update UI on the main thread for 
> something like this.
> 
> Make sure your -parseData routine is threadsafe, and then bounce back over to 
> the main thread for -finishedTask.

Oh I think I see now what I did wrong. Since I update the array *during* the 
parse, the tableview already gets updated as well since it is bound to the 
array. So I either need to update the array on the main thread, or wait with 
updating it until after parseData is done. I'll try what works best.

- Koen.
_______________________________________________

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

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

Reply via email to