When Is a Table Not a Table
NSTable
!= UITable
One of the more interesting differences taking on a Mac GUI app is that a lot of the AppKit
are radically different from the UIKit
equivalent. For the tiny section of app that I built, the most obvious difference is NSTableView
compared to UITableView
.
Having access to multiple columns and the option to populate cells with tableView(objectValueForTableColumn:row:)
instead of having to use tableView(cellForRowAtIndexPath:)
then set values in the cell meant less code to get strings onto labels in table view cells.
All in all, if felt like a strong accent on the programming language with the new patterns that AppKit
requires, but nowhere near the exercise in frustration that I was vaguely expecting.