On Jan 28, 2010, at 5:13 AM, Richard Somers <rsomers.li...@infowest.com> wrote:

MallocDebug reports a leak, and the leak grow over time.

If you never unbind, you're probably just seeing the KVO bookkeeping taking place.

Alternatively, you're calling super's implementation of - bind:toObject:withKeyPath:options: from within your own, but not calling super's implementation of unbind:. Due to KVB's (and KVO's) pretty poor API design, correctly dealing with superclass observers is impossible. If your class implements a certain binding, it should not allow super to do so as well.

--Kyle Sluder
_______________________________________________

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