Distance Picker
  • August 7, 2023

DistancePicker is a custom UIKit control to select a distance with a pan gesture. It looks like a ruler with multiple distance marks and can be used to resize a map, set up a geofence or choose a search radius.

To see in action, take a look at Placeboard demo video.

Compatibility


DistancePicker requires at least Xcode 9 and supports iOS 8 or higher.

Swift DistancePicker
5 0.8.4 or master
4.2 0.8.3 or branch swift-4.2
4.X 0.8.2 or branch swift-4.1
3.X 0.8.1 or branch swift-3.2

Installation


Carthage

Add the following line to your Cartfile, run carthage update to build the framework and drag the built DistancePicker.framework into your Xcode project.

github “qmathe/DistancePicker”

CocoaPods

Add the following lines to your Podfile and run pod install with CocoaPods 0.36 or newer.

use_frameworks!

pod “DistancePicker”

Manually

If you don’t use Carthage or CocoaPods, it’s possible to drag the built framework or embed the source files into your project.

Framework

Build DistancePicker framework and drop it into your Xcode project.

Files

Drop DistancePicker.swift into your Xcode project and link MapKit.

GitHub


View Github

#ios #picker #seach #swift #ui
YOU MIGHT ALSO LIKE...
exyte

     

camerakit-ios

CameraKit helps you add reliable camera to your app quickly. Our open source camera platform provides consistent capture results, service ...

HybridCamera

[video width="192" height="416" mp4="https://swiftgit.com/wp-content/uploads/2024/12/68747470733a2f2f7261776769742e636f6d2f7374796c656b69742f696d672f6d61737465722f7669645f6564697465645f325f326d622e676966.mp4"][/video]

TakeASelfie

An iOS framework that uses the front camera, detects your face and takes a selfie. This api opens the front ...

iOS-Depth-Sampler

Code examples of Depth APIs in iOS