Re: NSKeyValueBindingCreation Protocol
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