Re: Problem with changes to NSArrayControllers array causing crash
Re: Problem with changes to NSArrayControllers array causing crash
- Subject: Re: Problem with changes to NSArrayControllers array causing crash
- From: Corbin Dunn <email@hidden>
- Date: Mon, 18 Jan 2010 17:28:29 -0800
> ...
> 20 VATSpy 0x0000000100004912 -[BBSDataMgr loadDataFile:] + 3851
> 21 Foundation 0x00007fff8166de99 __NSThread__main__ + 1429
> 22 libSystem.B.dylib 0x00007fff814c2f8e _pthread_start + 331
> 23 libSystem.B.dylib 0x00007fff814c2e41 thread_start + 13
> )
> Code is:
> .... [myTableView reloadData];
> }
NSTableView is not threadsafe - do not call reloadData on a background thread. However, given your particular case it is probably the arraycontroller change that is causing the mutation.
corbin
_______________________________________________
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