Skip to content

jaysavsani1/QTFloatingDrawer

Repository files navigation

QTFloatingDrawer

CI Status Version License Platform

Example

This is the simple reimplementation of KGFloatingDrawer in SWIFT 4. To run the example project, clone the repo, and run pod install from the Example directory first.

Screenshots

Requirements

  • iOS 8.0+ / macOS 10.10+ / Xcode 9.0+
  • Swift 4

Installation

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

pod 'QTFloatingDrawer', '~> 0.0.1'

How To Use

func prepareDrawerViewController() -> QTDrawerViewController {
        let drawerViewController = QTDrawerViewController()
        drawerViewController.centerViewController = drawerSettingsViewController()
        drawerViewController.leftViewController = leftViewController()
        drawerViewController.rightViewController = rightViewController()
        _drawerViewController = drawerViewController

        return drawerViewController
    }

Author

BhumaJ

License

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