Popularity
2.0
Stable
Activity
0.0
Stable
67
6
7

Code Quality Rank: L4
Programming language: Swift
License: MIT License
Tags: UI    
Latest version: v0.4

LFTimePicker alternatives and similar libraries

Based on the "UI" category.
Alternatively, view LFTimePicker alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of LFTimePicker or a related project?

Add another 'UI' Library

README

LFTimePicker

Custom Time Picker ViewController with Selection of start and end times in Swift :large_orange_diamond:. Based on Adey Salyard's design @ Dribbble

Swift Version Build Status [License][license-url] Carthage compatible CocoaPods Compatible
Platform

One to two paragraph statement about your product and what it does.

ezgif com-resize

Features

  • [x] 12h and 24h formats

Requirements

  • iOS 8.0+
  • Xcode 7.3

Installation

CocoaPods

You can use CocoaPods to install YourLibrary by adding it to your Podfile:

platform :ios, '8.0'
use_frameworks!
pod 'LFTimePicker'

To get the full benefits import LFTimePicker wherever you import UIKit

import UIKit
import LFTimePicker

Carthage

Create a Cartfile that lists the framework and run carthage bootstrap. Follow the instructions to add $(SRCROOT)/Carthage/Build/iOS/YourLibrary.framework to an iOS project.

github "awesome-labs/LFTimePicker"

Swift Package Manager

Add this project on your Package.swift

import PackageDescription

let package = Package(
  name: "LFTimePicker"
)

Manually

  1. Download and drop LFTimePickerController.swift in your project.
  2. Congratulations!

Usage example


//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)
    }
}

Contribute

We would love for you to contribute to LFTimePicker, check the LICENSE file for more info.

Meta

Lucas Farah – @7farah7[email protected]

Distributed under the MIT license. See LICENSE for more information.

https://github.com/awesome-labs


*Note that all licence references and agreements mentioned in the LFTimePicker README section above are relevant to that project's source code only.