tableView(_:shouldEdit:row:)
Asks the delegate if the cell at the specified row and column can be edited.
Declaration
@MainActor optional func tableView(_ tableView: NSTableView, shouldEdit tableColumn: NSTableColumn?, row: Int) -> BoolParameters
- tableView:
The table view that sent the message.
- tableColumn:
The table column.
- row:
The row index.
Return Value
Discussion
The delegate can implement this method to disallow editing of specific cells.