Resizable Split View, inspired by Apple's Split View for iPadOS and SplitKit
.Package(url: "https://github.com/twodayslate/SplitView.git", majorVersion: 1)
For the latest updates use:
.Package(url: "https://github.com/twodayslate/SplitView.git", branch: "master")
pod 'SplitView'
For the latest updates use:
pod 'SplitView', :git => 'https://github.com/twodayslate/SplitView.git'
Using SplitView
is easy! Simply create a SplitView
and add your views to it - just like a UIStackView
.
import SplitView
//
let mySplitView = SplitView()
mySplitView.addSplitSubview(myFirstView)
mySplitView.addSplitSubview(mySecondView)
There are certain customizations available including minimum sizing and snapping. Custom handles are also supported.
Be sure to checkout the example App.