Re: Mysterious crash with NSTableView
Re: Mysterious crash with NSTableView
- Subject: Re: Mysterious crash with NSTableView
- From: Andreas Falkenhahn <email@hidden>
- Date: Fri, 26 Aug 2016 17:42:30 +0200
On 26.08.2016 at 17:35 Gary L. Wade wrote:
> Try clearing your table view's data source and delegate before
> releasing their object. It appears the pointer gets reassigned to an
> NSRectSet before your table view completely goes away but after its delegate and data source have.
Great, that solves it. Thanks a lot!
But once again, I think it's a crime that there is no mentioning of this in the class
documentation of "setDelegate" and "setDatasource" :(
--
Best regards,
Andreas Falkenhahn mailto:email@hidden
_______________________________________________
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