Swiftpack.co -  Package - trafi/SlideOutable
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Swift component for sliding out and changing UIViewControllers easily.
.package(url: "https://github.com/trafi/SlideOutable.git", from: "0.2.3")

Swift Package Manager compatible Carthage compatible


Swift component for sliding content above other views easily.


From code

As with any other view do these 3 steps:

let scroll = UITableView()
let header = UIView()
header.frame.size.height = 50 // header's `frame.size.height` should be set.
// `scroll` and `header` will be added and layed out inside `SlideOutable` instance.

// 1. Initialize
let slideOutable = SlideOutable(scroll: scroll, header: header)

// 2. Layout
slideOutable.frame = view.bounds
slideOutable.autoresizingMask = [.flexibleWidth, .flexibleHeight] // Or use constraints

// 3. Add to view hierarchy

From Interface Builder

See example project.


Swift Package Manager

Open your project in Xcode and select File > Swift Packages > Add Package Dependency. There enter https://github.com/trafi/SlideOutable as the repository URL.


Using Carthage. Add the following line to your Cartfile:

github "Trafi/SlideOutable"


Stars: 1
Last commit: 2 weeks ago

Release Notes

Swift Package Manager
50 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco