Swiftpack.co -  super-ultra/UltraDrawerView as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
🐝 Super ultra drawer view
.package(url: "https://github.com/super-ultra/UltraDrawerView.git", from: "0.6.2")


let headerView = HeaderView()
headerView.translatesAutoresizingMaskIntoConstraints = false
headerView.heightAnchor.constraint(equalToConstant: 64).isActive = true

let tableView = UITableView()

let drawerView = DrawerView(scrollView: tableView, delegate: self, headerView: headerView)
drawerView.availableStates = [.top, .middle, .bottom]
drawerView.middlePosition = .fromBottom(256)
drawerView.cornerRadius = 16
drawerView.containerView.backgroundColor = .white
drawerView.setState(.middle, animated: false)

// More fluctuations 
drawerView.animationParameters = .spring(mass: 1, stiffness: 200, dampingRatio: 0.5)

// Default UIScrollView like behavior
drawerView.animationParameters = .spring(.default)



To run the example project, clone the repo and run bundle exec pod install from the Example directory first.


UltraDrawerView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'UltraDrawerView'


Ilya Lobanov


UltraDrawerView is available under the MIT license. See the LICENSE file for more info.


Stars: 135
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Minor fixes
7 weeks ago

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