Make NSTableView header cells editable with a double-click
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
EditableTableViewHeader.xcodeproj
EditableTableViewHeader
.gitignore
LICENSE
README.md
preview.gif

README.md

NSTableView with editable column header cells

screencapture

NSTableViews don't come with header rows that you can edit out of the box. This demo uses the NSWindow's field editor to start an editing session on top of a column header cell when you double click it.

Written and tested with Xcode 7.3 on Mac OS 10.11.4.

Usage

Open the project in Xcode to see how it works.

You can extract all components from TableView.swift and use them in your app. No external dependencies.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Credits

License

See LICENSE file.