I am having trouble reloading my NSTableView. The regular reloadData method doesn’t work:
[_tableView reloadData];
The NSTableView populates correctly when the application launches. The tableview has it’s datasource and delegate set to the AppDelegate, and the tableView’s referencing outlet is set to the AppDelegate as well.
I am pretty new to this – and I’m not sure how to troubleshoot. Looking around, I think that my connections in IB may be incorrect, however I have tried many different combinations and none of them will let the reloadData function run. I have tried to add the reloadData method to other functions that I know are running, however, it just seems to run reloadData and do nothing – no errors or warnings.
Any assistance would be appreciated – I would prefer tips on how to actually troubleshoot the issue instead of a solution – I’m not here for free code. 🙂
I figured it out – my array was being generated in an init method in my class. it should have been generated in the numberOfRowsInTableView method. reloadTable was being called and was working, and the array was changing, however, the array variable was not actually being re-generated.