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: Eric Gorr <email@hidden>
- Date: Wed, 19 Jan 2011 20:24:06 -0500
On Jan 19, 2011, at 8:19 PM, Graham Cox wrote:
> On 20/01/2011, at 12:14 PM, Eric Gorr wrote:
>
>> 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.
Agreed. I never liked the solution, which is one of the reasons why I posted the message to begin with.
> 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!
Indeed. Learned stuff too...I had not fully understood the rules regarding weak references before.
Hopefully this thread has helped others as well._______________________________________________
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