TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jul 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Lucas Farah.
Custom Time Picker ViewController with Selection of start and end times in Swift
🔶 . Based on Adey Salyard’s design @ Dribbble
One to two paragraph statement about your product and what it does.
Add this project on your Package.swift
import PackageDescription
let package = Package(
name: "LFTimePicker"
)
LFTimePickerController.swift
in your project.
//1. Create a LFTimePickerController
let timePicker = LFTimePickerController()
//2. Present the timePicker
self.navigationController?.pushViewController(timePicker, animated: true)
//3. Implement the LFTimePickerControllerDelegate
extension ExampleViewController: LFTimePickerControllerDelegate {
func didPickTime(start: String, end: String) {
print(start)
print(end)
}
}
We would love for you to contribute to LFTimePicker, check the LICENSE
file for more info.
Lucas Farah – @7farah7 – [email protected]
Distributed under the MIT license. See LICENSE
for more information.