• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash in datasource method when closing document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Crash in datasource method when closing document (From: Shane Stanley <email@hidden>)
 >Re: Crash in datasource method when closing document (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: [OT] Buttons in iOS 7
  • Next by Date: Re: collection of applications
  • Previous by thread: Re: Crash in datasource method when closing document
  • Next by thread: Re: Crash in datasource method when closing document
  • Index(es):
    • Date
    • Thread