/BSDatePicker

Simple pop up dialog to select a date in iOS.

Primary LanguageSwiftMIT LicenseMIT

BSDatePicker

[![CI Status](http://img.shields.io/travis/Bobby Stenly/BSDatePicker.svg?style=flat)](https://travis-ci.org/Bobby Stenly/BSDatePicker) Version License Platform

Example

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

Requirements

Installation

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

pod "BSDatePicker"

How To Use

First thing first, you need to create the BSDatePicker element. If you are using the storyboard or xib, create a UIButton then change the class name to BSDatePicker and the module to BSDatePicker. Please set the viewController attribute and run the setup function.

self.bsdFirst.viewController = self
self.bsdFirst.title = "First Date Picker"
self.bsdFirst.defaultTitle = "Default"
self.bsdFirst.setup()

Author

Bobby Stenly, iceman.bsi@gmail.com

License

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