On 09/01/2009, at 2:12 AM, Sean McBride wrote:

I'm inclined to agree.  However, mmalc's page says "If your view may
become full screen, then you should ideally use another invalidation
method to mark when the view is finished with and unbind in that,
otherwise you should unbind in finalize".

This actually doesn't work, -finalize is never called if you still have observers registered, so you can't unbind in -finalize.

So if not finalize and not viewWillMoveToSuperview, when can I stop the observing I started in bind:? That's what I'm trying to get at really.


I do it based on a notification from another object (in my case the document) when it is cleaning up.

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to