Skip to content

Greensource/TBHourMinutePickerView

 
 

Repository files navigation

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

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 34.1%
  • Objective-C 26.3%
  • Swift 24.0%
  • Makefile 10.9%
  • Ruby 3.1%
  • C 1.6%