• 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: NSKeyValueBindingCreation Protocol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSKeyValueBindingCreation Protocol


  • Subject: Re: NSKeyValueBindingCreation Protocol
  • From: Richard Somers <email@hidden>
  • Date: Sat, 28 Apr 2012 16:52:31 -0600

On Apr 28, 2012, at 1:30 PM, Quincey Morris wrote:

> To get an answer on this, you'll probably need to say which memory model you're using: GC, ARC or traditional RR.

Actually now that I have done a little more research it appears that my question regarding  programmatically calling -unbind: when the window closes is not related to which memory model I am using: GC, ARC or traditional RR.

GC is not recommended any more and ARC only deals with retain/release. ARC does not remove observers and thus would be unable to -unbind:. So this question would apply equally to ARC and manual RR.

http://stackoverflow.com/questions/8122976/objective-c-automatic-reference-counting-arc-and-key-value-observing

http://stackoverflow.com/questions/7827953/removing-observers-in-post-arc-cocoa

http://stackoverflow.com/questions/13927/in-cocoa-do-i-need-to-remove-an-object-from-receiving-kvo-notifications-when-deallocating-it

--Richard


_______________________________________________

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

  • Follow-Ups:
    • Re: NSKeyValueBindingCreation Protocol
      • From: Quincey Morris <email@hidden>
References: 
 >NSKeyValueBindingCreation Protocol (From: Richard Somers <email@hidden>)
 >Re: NSKeyValueBindingCreation Protocol (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: NSTableView doesn't show data until I click on a header
  • Next by Date: Re: NSKeyValueBindingCreation Protocol
  • Previous by thread: Re: NSKeyValueBindingCreation Protocol
  • Next by thread: Re: NSKeyValueBindingCreation Protocol
  • Index(es):
    • Date
    • Thread