Re: Odd Crash when adding table columns manually
Re: Odd Crash when adding table columns manually
- Subject: Re: Odd Crash when adding table columns manually
- From: Graham Cox <email@hidden>
- Date: Thu, 20 Jan 2011 12:19:15 +1100
On 20/01/2011, at 12:14 PM, Eric Gorr wrote:
> However, simply setting the the datasource and delegate to nil works as well and is a better solution.
It is also the correct solution.
> The table is also owned by the the scrolling view and therefore the window and would not be deallocated here...it will stick around long after the controller is deallocated.
You're right, but since the table owns its columns, it is still the table's job to manage them, not yours.
Glad you got it solved anyway, but it's nice to know that the best solution turned out to be the correct, documented and recommended one after all!
--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