LFTimePicker
  • April 7, 2024

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

Features


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

GitHub


View Github

#awesome #cocoapods #dribbble #ios #swift #time-picker
YOU MIGHT ALSO LIKE...
CameraBackground

Features Both front and back camera supported. Flash modes: auto, on, off. Countdown timer. Tap to focus. Pinch to zoom. Usage  

DKCamera

Description A light weight & simple & easy camera for iOS by Swift. It uses CoreMotion framework to detect device orientation, so ...

HorizonSDK-iOS

Horizon SDK is a state of the art real-time video recording / photo shooting iOS library. Some of the features ...

LLSimpleCamera

LLSimpleCamera: A simple customizable camera - video recorder control LLSimpleCamera is a library for creating a customized camera - video ...

RSBarcodes_Swift

RSBarcodes allows you to read 1D and 2D barcodes using the metadata scanning capabilities introduced with iOS 7 and generate ...