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

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -