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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to