Latest 0.1.3
Homepage https://github.com/thiagotmb/TBHourMinutePickerView
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

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.

Latest podspec

{
    "name": "TBHourMinutePickerView",
    "platforms": {
        "ios": "8.0"
    },
    "summary": "A subclass of UIPickerVew that make a custom control of hour and minutes selection",
    "requires_arc": true,
    "screenshots": "https://camo.githubusercontent.com/d5719d3b4fbc421ea8b6094c6ef5371d6284a06d/68747470733a2f2f7261772e6769746875622e636f6d2f74686961676f746d622f5442486f75724d696e7574655069636b6572566965772f6d61737465722f4578616d706c652f7462686f75726d696e7574657069636b65722e676966",
    "version": "0.1.3",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[Thiago Bernardes]": "[email protected]"
    },
    "homepage": "https://github.com/thiagotmb/TBHourMinutePickerView",
    "source": {
        "git": "https://github.com/thiagotmb/TBHourMinutePickerView.git",
        "tag": "0.1.3"
    },
    "frameworks": "UIKit",
    "source_files": "TBHourMinutePickerView/**/*.{swift}"
}

Pin It on Pinterest

Share This