My application presents a list of words to the user, who will then select a number of them. They may also edit the words in the table. The table is a single column, cell-based table.
The application is very small, so the app delegate is being used as the NSTableViewDataSource and NSTableViewDelegate. The data source is working correctly, as the right words are appearing in the table. I am able to get a list of selected words from the table after the user presses the Done button.
The part that is missing is getting edits of words in the table. I have added the - (void)tableView:setObjectValue:forTableColumn:row: method, right next to the methods for populating the table. I put a call to NSLog in the method, but the method is not being called- nothing appears in the console.
What might prevent the method from being called? Exactly what user actions will trigger the sending of the message to the table data source?
Thanks
Andrew