DGBottomSheet - The lightest swift bottom sheet library

Overview
  1. DGBottomSheet
  2. Requirements
  3. Installation
  4. Usage

DGBottomSheet

The lightest swift bottom sheet library

Requirements

  • iOS 12.0+
  • Swift 5.0+
  • Xcode 10.0+

Installation

SPM

File > Add Packages > https://github.com/donggyushin/DGBottomSheet

CocoaPod

pod 'DGBottomSheet', :git => 'https://github.com/donggyushin/DGBottomSheet'

Usage

func showBottomSheet() {
    let contentsView: UIView = {
        let view = UIView()
        view.translatesAutoresizingMaskIntoConstraints = false
        // You should give view height constraint anyway
        view.heightAnchor.constraint(equalToConstant: 300).isActive = true
        view.backgroundColor = .white
        return view
    }()
    let vc = DGBottomSheet(view: contentsView)
    // Make sure animated false 
    self.present(vc, animated: false)
}
You might also like...
A Google like action sheet for iOS written in Swift.
A Google like action sheet for iOS written in Swift.

MaterialActionSheetController Lightweight and totally customizable. Create and present it the way you do with UIAlertController. Screenshots Demo | De

Dice roller, character sheet/ creator, and monster/item info app on the iphone12

DnD-LordDogMaw This file will be the start of a side project in the hopes of creating an iphone12 app for Dungeons and Dragons! This app will have 3 m

Action sheet allows including your custom views and buttons.
Action sheet allows including your custom views and buttons.

CustomizableActionSheet Action sheet allows including your custom views and buttons. Installation CocoaPods Edit your Podfile: pod 'CustomizableAction

Present a sheet ViewController easily and control ViewController height with pangesture
Present a sheet ViewController easily and control ViewController height with pangesture

PanControllerHeight is designed to present a sheet ViewController easily and control ViewController height with pangesture.

A SwiftUI Partial Sheet fully customizable with dynamic height
A SwiftUI Partial Sheet fully customizable with dynamic height

A SwiftUI Partial Sheet fully customizable with dynamic height

Share-sheet-example - A sample project that reproduces an issue with Share Sheets

Hello, DTS! This project demonstrates the issue I'm having with the Share Sheet.

SplitSheet - A lightweight, fully interactive split-screen sheet.
SplitSheet - A lightweight, fully interactive split-screen sheet.

SplitSheet A lightweight, fully interactive split-screen sheet. Powered by UIScrollView for super-smooth gestures. Show/hide either programmatically o

This is a small View modifier that adds detents for native .sheet representations that appeared in iOS 16

SheetDetentsModifier This is a small View modifier that adds detents for .sheet representations that appeared in iOS 16 It works starting with iOS 15

Swift library to manage in app notification in swift language, like WhatsApp, Telegram, Frind, ecc.
Swift library to manage in app notification in swift language, like WhatsApp, Telegram, Frind, ecc.

InAppNotify - Manage in App notifications During develop of my app Frind, I needed to manage in app notifications like whatsapp or telegram, but i did

Releases(v1.0.6)
  • v1.0.6(Jan 20, 2022)

    What's Changed

    • Feature/GitHub actions by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/14
    • Release/v1.0.6 by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/15

    Full Changelog: https://github.com/donggyushin/DGBottomSheet/compare/v1.0.5...v1.0.6

    Source code(tar.gz)
    Source code(zip)
  • v1.0.5(Jan 15, 2022)

    What's Changed

    • update develop by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/11
    • [Feature] Make hide func public by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/12
    • [Release] v1.0.5 by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/13

    Full Changelog: https://github.com/donggyushin/DGBottomSheet/compare/v1.0.4...v1.0.5

    Source code(tar.gz)
    Source code(zip)
  • v1.0.4(Jan 15, 2022)

    What's Changed

    • [Feature] Add feature that hide view when user's pan gesture speed is fast enough by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/9
    • [Release] v1.0.4 by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/10

    Full Changelog: https://github.com/donggyushin/DGBottomSheet/compare/v1.0.3...v1.0.4

    Source code(tar.gz)
    Source code(zip)
  • v1.0.3(Jan 15, 2022)

    What's Changed

    • [Hotfix] Fix dismiss error by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/7

    Full Changelog: https://github.com/donggyushin/DGBottomSheet/compare/v1.0.2...v1.0.3

    Source code(tar.gz)
    Source code(zip)
  • v1.0.2(Jan 13, 2022)

    What's Changed

    • [Feature] override dismiss function by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/5
    • [Release] v1.0.2 by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/6

    Full Changelog: https://github.com/donggyushin/DGBottomSheet/compare/v1.0.1...v1.0.2

    Source code(tar.gz)
    Source code(zip)
  • v1.0.1(Jan 12, 2022)

    What's Changed

    • [Feature] adjust hide condition by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/3
    • [Release] v1.0.1 by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/4

    Full Changelog: https://github.com/donggyushin/DGBottomSheet/compare/v1.0.0...v1.0.1

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Jan 12, 2022)

    What's Changed

    • [Feature] Working on DGBottomSheet by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/1
    • [Release] v.1.0.0 by @donggyushin in https://github.com/donggyushin/DGBottomSheet/pull/2

    New Contributors

    • @donggyushin made their first contribution in https://github.com/donggyushin/DGBottomSheet/pull/1

    Full Changelog: https://github.com/donggyushin/DGBottomSheet/commits/v1.0.0

    Source code(tar.gz)
    Source code(zip)
Owner
donggyu
donggyu
Customizable Dynamic Bottom Sheet Library for iOS

DynamicBottomSheet Powerd by Witi Corp., Seoul, South Korea. Fully Customizable Dynamic Bottom Sheet Library for iOS. This library doesn't support sto

Witi Official 10 May 7, 2022
BottomSheetDemo - Bottom sheet modal view controller with swift

当我们想弹出一个预览视图,bottom sheet modal view controller 非常实用。在 iOS 中,长按拖拽手势可以让 controlle

null 8 Oct 29, 2022
SwiftUI Draggable Bottom Sheet

SwiftUI Draggable Bottom Sheet

paigeshin 2 Mar 3, 2022
Bottom Sheet component is widely used in Joom application

Bottom Sheet Bottom Sheet component is widely used in Joom application Installation Swift Package Manager Swift Package Manager is a tool for managing

Joom 101 Dec 29, 2022
Custom-action-sheet- - Custom action sheet with swift

Custom-action-sheet- Usage let alertController: UIAlertControllerDimmed = UIAler

Girisankar G 0 Jan 19, 2022
A Swift library to provide a bouncy action sheet

Hokusai is a Swift library that provides a bouncy action sheet. It will give the users a fancy experience without taking pains coding the cool animati

Yuta Akizuki 430 Nov 20, 2022
An iOS library for SwiftUI to create draggable sheet experiences similar to iOS applications like Maps and Stocks.

An iOS library for SwiftUI to create draggable sheet experiences similar to iOS applications like Maps and Stocks.

Wouter 63 Jan 5, 2023
BottomSheet makes it easy to add custom bottom sheets to your SwiftUI apps.

BottomSheet About BottomSheet BottomSheet makes it easy to add custom bottom sheets to your SwiftUI apps. The result can look like this...or completel

Daniel Saidi 174 Jan 2, 2023
zekunyan 608 Dec 30, 2022
Fully customizable and extensible action sheet controller written in Swift

XLActionController By XMARTLABS. XLActionController is an extensible library to quickly create any custom action sheet controller. Examples The action

xmartlabs 3.3k Dec 31, 2022