In the previous post, we looked at how to use Core Data to populate an NSTableView by directly working with the NSTableView through an NSTableViewDataSource and NSTableViewDelegate. This approach gives you a lot of fine-grained control, but requires a fair amount of code. In this post, we will use Cocoa
Updated on March 20, 2016 to correct an issue with Step 2 where the selectedItem property wasn't correctly selected if no row is selected in the NSTableView. In this post, we give an example of how you can use Core Data to populate an NSTableView in a Swift Cocoa App.