- Notifications
You must be signed in to change notification settings - Fork57
⬆️ A SwiftUI view component sliding in from bottom
License
weitieda/bottom-sheet
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Same way as you useSheet inSwiftUI
NavigationView{List(0..<20){Text("\($0)")}.listStyle(PlainListStyle()).bottomSheet(isPresented: $isPresented, height:300){List(20..<40){Text("\($0)")}.listStyle(PlainListStyle())}.navigationBarTitle("Bottom Sheet").navigationBarItems( trailing:Button(action:{self.isPresented=true}){Text("Show")})}
Both demo preview code are available in example project.
To run the example project, clone this repo, and open iOS Example.xcworkspace from the iOS Example directory.
📱 iOS 13.0+
To installBottomSheet usingSwift Package Manager, add.package(name: "BottomSheet", url: "https://github.com/weitieda/bottom-sheet", from: "1.0.0")," to your Package.swift, then follow the integration tutorialhere.
To installBottomSheet usingCocoaPods, addpod 'BottomSheet', :git => 'https://github.com/weitieda/bottom-sheet.git' to your Podfile, then follow the integration tutorialhere.
BottomSheet is available under the MIT license. Seethe LICENSE file for more information.
About
⬆️ A SwiftUI view component sliding in from bottom
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors8
Uh oh!
There was an error while loading.Please reload this page.


