You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
About
Custom UIKit control to select a distance with a pan gesture, written in Swift