When you use default cell-based NSTableView and double click resizing spot in column, that column will resize to that width what is max longest text in your content.
What function I must call in view-based NSTableView to get same effect?
Edit: Function what I missed was:
func tableView(tableView: NSTableView, sizeToFitWidthOfColumn column:Int) -> CGFloat
But how can I get max width from my all stringValues?