Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.54 KB

README.md

File metadata and controls

56 lines (36 loc) · 1.54 KB

TBHourMinutePickerView

Version License Platform

alt tag

Usage

Add to your podfile

pod "TBHourMinutePickerView"
//Import
import TBHourMinutePickerView

//Setup
var hourMinutePicker = TBHourMinutePickerView(frame: self.view.frame)
hourMinutePicker.myDelegate = self
hourMinutePicker.rowHeight = 35
hourMinutePicker.labelTextColor = .whiteColor()
hourMinutePicker.labelFont = UIFont(name: "AvenirNext-UltraLight", size: 35)!=
self.view.addSubView(hourMinutePicker)

//Delegates 
func didSelectHour(pickerView: TBHourMinutePickerView, hour: Int) {

}

func didSelectMinute(pickerView: TBHourMinutePickerView, minute: Int) {

}

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

Requirements

IOS 8.0

Installation

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

Author

thiagotmb, tmb0710@gmail.com

License

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