1
votes

I have an NSTextView inside an NSTableView. I would like the NSTextView to be editable in such a way that when I add content to it, the NSTableView and NSTableCellView resizes to show the full content of the NSTextView.

Example of this behaviour from Omnifocus

enter image description here

1

1 Answers

1
votes

I have to use NSTableView's noteHeightOfRowChangedWithIndexes along with controlTextdidChange in order to achieve the desired effect.