I
I
i_divided_by_zero2018-01-08 19:42:49
Cocoa
i_divided_by_zero, 2018-01-08 19:42:49

How to add a Header menu to an NSTableView (Mac OS) like a mobile app?

How to add a Header menu to an NSTableView (Mac OS) like a mobile app? The standard NSHeaderView for NSTableView is not at all what I need. These are just table column headers. I solved the problem by presenting the menu as a regular table row, I need this menu and the contents of the table to scroll all together. There was an idea to add a separate header and then a table to the NSScrollView, but xcode did not allow it. Maybe there is a more elegant solution?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question