Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.36 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.36 KB

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, [email protected]

License

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