To run the example project, clone the repo, and run pod install
from the Example directory first.
ASPickerView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "ASPickerView"
TrungUng, [email protected]
ASPickerView is available under the MIT license. See the LICENSE file for more info.
var timePicker = ASPickerView(frame: CGRectMake(20, 50, 320, 200))
timePicker.backgroundColor = UIColor.whiteColor()
self.view.addSubview(timePicker)
Applied IBInspectable
Set Width/Height and number of col
extension ViewController: ASPickerViewDelegate {
func datePickerDidChange(hour: NSInteger, minute: NSInteger, second: NSInteger) {
// Do any additional
println("Hour: \(hour) - Minute: \(minute) - Second: \(second)")
}
}