TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | May 2016 |
SPMSupports SPM | ✗ |
Maintained by Cédric Foellmi.
A set of classes, among which a subclass of NSSplitView, that splits well and allow you to make make panes. Horizontal and vertical panes can be combined.
Using Carthage: add github "onekiloparsec/KPCSplitPanes"
to your Cartfile
and then run carthage update
.
Using CocoaPods: pod 'KPCSplitPanes'
KPCSplitPanes is a lot a work in progress right now. A demo is here to show how to use it. Basically, install a NSSplitView
in your xib/storyboard, declare it as a PressureSplitView
, build a dedicated delegate, and assign it to the split view.
The choice between horizontal and vertical split can be toggled by pressing Alt
key.
It is mandatory for the container view to not use AutoLayout.
What is currently not perfect/working
Cédric Foellmi (@onekiloparsec)
KPCSplitPanes is licensed under the MIT license and hosted on GitHub at https://github.com/onekiloparsec/KPCSplitPanes/ Fork the project and feel free to send pull requests with your changes!