Skip to content

DivineDominion/Editable-NSTableView-Header

Repository files navigation

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.

About

Make NSTableView header cells editable with a double-click

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages