[Openmcl-devel] A question on how to implement delegate methods
Didier Verna
didier at lrde.epita.fr
Fri Feb 1 07:05:21 PST 2008
Hello again,
suppose that I have an outline-view somewhere, with a delegate of class
main-window-controller. It is not clear to me how I would implement the
following delegate method (objc prototype):
- (BOOL)outlineView:(NSOutlineView *)outlineView shouldSelectItem:(id)item
>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 ?
--
Resistance is futile. You will be jazzimilated.
Didier Verna, didier at lrde.epita.fr, http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-Bicêtre, France Fax.+33 (0)1 53 14 59 22 didier at xemacs.org
More information about the Openmcl-devel
mailing list