draw(withExpansionFrame:in:)
Instructs the receiver to draw in an expansion frame.
Declaration
func draw(withExpansionFrame cellFrame: NSRect, in view: NSView)Parameters
- cellFrame:
The frame in which to draw.
- view:
The view in which to draw. This view may be different from the original view that the cell appeared in.
Discussion
This method allows the cell to perform custom expansion tool tip drawing. By default, NSCell simply calls draw(withFrame:in:).