Instance Method

tableView(_:didAdd:forRow:)

Tells the delegate that a row view was added at the specified row.

Declaration

optional func tableView(_ tableView: NSTableView, didAdd rowView: NSTableRowView, forRow row: Int)

Parameters

tableView

The table view that sent the message.

rowView

The row view.

row

The index of the row.

Discussion

At this point, the delegate can add extra views, or modify the properties of rowView.

See Also

Notification of Row Views Being Added or Removed

func tableView(NSTableView, didRemove: NSTableRowView, forRow: Int)

Tells the delegate that a row view was removed from the table at the specified row.