I could really use some help with macOS UI work for this Mastodon client I'm working on. I'm struggling ridiculously with the core concept of NSTableView cell resizing.
Please boost.
I could really use some help with macOS UI work for this Mastodon client I'm working on. I'm struggling ridiculously with the core concept of NSTableView cell resizing.
Please boost.
I think, as in iOS UITableView, you would use implement NSTableViewDelegate with tableView(_:heightOfRow).
https://developer.apple.com/reference/appkit/nstableviewdelegate/1529684-tableview
I'm sure you probably have already found this, but Ray Wenderlich has a NSTableView tutorial here:
https://www.raywenderlich.com/143828/macos-nstableview-tutorial
@erico also NSTableView does not support the premise of estimated heights and UITableViewAutomaticDimension.
I've found hacks that try to implement this, but none of them work in the general case, and it's driving me totally insane!