Fugenx Technologies Private Limited
Fugenx Technologies Private Limited
Fugenx Technologies Private Limited
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Template Method<br />
When You Should Call the Default Implementation<br />
NSView provides another Template Method called –hitTest:<br />
It returns the most appropriate object to receive a mouse event<br />
at a specified point.When overriding –hitTest:, the default<br />
implementation should almost always be called because the<br />
selection of the most appropriate object is based on complex but<br />
standard logic that you most likely don’t want to re-implement.<br />
You might however want to simulate a round NSView subclass<br />
or provide other unique application behavior.<br />
© 2011, FuGenX <strong>Technologies</strong> Confidential<br />
21