[Solved] Show elements of an array in an NSTableView


You can use

func tableView(_ tableView: NSTableView, objectValueFor tableColumn: NSTableColumn?, row: Int) -> Any? {
        return array[row]
    }
}

4

solved Show elements of an array in an NSTableView