Skip to content
Swift Ruby Shell Objective-C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update FUNDING.yml Sep 4, 2019
SplitView.xcodeproj
SplitView Animations make the content wobble so removed it Oct 10, 2019
SplitviewTests
app
docs
images
.gitignore
LICENSE
Package.swift Added Package.swift Oct 10, 2019
README.md
SplitView.podspec API looks more like UIStackView and updated docs Oct 10, 2019
generate-docs.sh Updated documentation Sep 4, 2019

README.md

SplitView

Resizable Split View, inspired by Apple's Split View for iPadOS and SplitKit

Vertical Horizontal

Requirements

Swift Package Manager (SPM)

.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")

CocoaPods

pod 'SplitView'

For the latest updates use:

pod 'SplitView', :git => 'https://github.com/twodayslate/SplitView.git'

Usage

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.

You can’t perform that action at this time.