outlineView(_:didAdd:forRow:)
Implemented to know when a new row view is added to the table.
Declaration
@MainActor optional func outlineView(_ outlineView: NSOutlineView, didAdd rowView: NSTableRowView, forRow row: Int)Parameters
- outlineView:
The outline view that sent the message.
- rowView:
The new row view.
- row:
The row to which the view was added.
Discussion
This delegate method is for NSView-based outline views. At this point, you can choose to add in extra views or modify any properties on rowView.