On Nov 24, 2007, at 12:26 AM, Mike R. Manzano wrote:
What does NSObject's implementation of
bind:toObject:forKeyPath:options: do?
Should my class' implementation of it call it on its superclass?
It should if it doesn't recognize the passed-in binding name. See the
comments in the override of it in Leopard /Developer/Examples/AppKit/
Sketch/SKTGraphicView.m.
David's summary of what the default implementation does was spot on.
SKTGraphicView shows an example where that default implementation
isn't good enough though. It has to override -unbind: too, to match.
-- Mark
_______________________________________________
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