Re: Crash in datasource method when closing document
Re: Crash in datasource method when closing document
- Subject: Re: Crash in datasource method when closing document
- From: Sean McBride <email@hidden>
- Date: Thu, 10 Oct 2013 12:08:12 -0400
- Organization: Rogue Research Inc.
On Wed, 9 Oct 2013 23:10:18 -0700, Jerry Krinock said:
>> I'm using ARC.
>
>ARC doesn't help for KVO observers, notification observers, delegates,
>manual bindings, or data sources. These must still be managed manually.
>
>* * *
>
>Here is some typical code "tear down" code. This is for a tabbed
>window. Note the outline view's delegate and data source being set to nil.
Is all that really necessary in ARC? Even with weak references? I still haven't switched from GC to ARC, looks like that's going to be a lot of crusty tear down code I'm going to need to add I guess. :(
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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