How do you populate one column based on values of other column for a macOS app using Xcode 12 in a tableView?
The value of the first column comes from a comboBox which I get control by using the following code connected to the comboBox:
Then base on the value of the comboBox column within the comboAction function I want to populate column 2.
Can this be done? If so, how
The value of the first column comes from a comboBox which I get control by using the following code connected to the comboBox:
Code Block @IBAction func comboAction(_ sender: NSComboBox) { print("Combo selected", sender.selectedTag(), sender.stringValue, sender.indexOfSelectedItem, sender.identifier as Any) }
Then base on the value of the comboBox column within the comboAction function I want to populate column 2.
Can this be done? If so, how