[Openmcl-devel] A question on how to implement delegate methods
danieldickison at gmail.com
Fri Feb 1 11:56:59 EST 2008
>> From what I understand (correct me if I'm wrong), I would need a
> of the form:
> #/outlineView: (<delegate> <the-outline-view> &key should-select-item)
> but what if I don't want to implement the other oulineView: delegate
> methods myself ?
Usually delegate methods are only called if they are actually
implemented by the delegate object -- this is checked with the -
respondsToSelector: message. So I don't think you have to worry
about implementing all of them if you don't want to.
More information about the Openmcl-devel