[Openmcl-devel] A question on how to implement delegate methods

Daniel Dickison danieldickison at gmail.com
Fri Feb 1 16:56:59 UTC 2008


>> From what I understand (correct me if I'm wrong), I would need a  
>> method
> 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 mailing list