cocoa - How is NSCell displayed? -
an nscontrol's cell isn't in view hierarchy. correct?
if isn't, how being drawn on view if it's not in view hierarchy?
i ask because want have view/control subclass can drag out onto contentview, add buttons view, , have lowest component cell. cell can click events, something, pas them onto buttons.
window ->contentview -> customview ->(button, button, button)
nsresponder, thats thought.
costique, check apple's docs first. looking clarification.
read apple's docs. in nutshell, control's -drawrect: sends -drawinteriorwithframe:inview: and/or -drawwithframe:inview: cell actual drawing.
Comments
Post a Comment