Re: Program crashed after edit values at NSTableView
Re: Program crashed after edit values at NSTableView
- Subject: Re: Program crashed after edit values at NSTableView
- From: Graham Cox <email@hidden>
- Date: Sat, 8 May 2010 15:10:17 +1000
On 08/05/2010, at 2:21 PM, Peter C wrote:
> How do I prevent [] or NSTableView updating after window is close ?
Looks like the table view is asking your data source for something after that something has been deallocated. Try setting the table's dataSource to nil when the controller is dealloc'ed, then even if the table hangs around for a bit longer, it won't crash.
--Graham
_______________________________________________
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