Skip to content

Component containing supplementary content that are anchored to the bottom of the screen.

License

Notifications You must be signed in to change notification settings

VickyPrajapati24/BottomSheetController

 
 

Repository files navigation

BottomSheetController

UIKit component containing supplementary content that are anchored to the bottom of the screen.

Requirements

  • iOS 11.0+
  • Swift 5.0+

Installation

Swift Package Manager

Add package repository with URL https://github.com/naru-jpn/BottomSheetController.

Usage

You can embed your custom ViewController or View as supplementary content.

View of ViewController or View must be decided frame height by content contained itself.

Embed Your Contents

Embed your custom view controller

let yourCustomViewController = ...
let bottomSheetController = BottomSheetController(contentViewController: yourCustomViewController)
present(bottomSheetController, animated: true)

Embed your custom view

let yourCustomView = ...
let bottomSheetController = BottomSheetController(contentView: yourCustomView)
present(bottomSheetController, animated: true)

License

BottomSheetController is released under the MIT license. See LICENSE for details.

About

Component containing supplementary content that are anchored to the bottom of the screen.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%