LocationPicker - A ready for use and fully customizable location picker for your app

Overview

LocationPicker

A ready for use and fully customizable location picker for your app.

Language CocoaPods Carthage Compatible License

Features

  • Easy to use - A fully functional location picker can be integrated to your app within 5 lines of codes. LocationPicker can be subclassed in storyboard or programmatically.
  • Comprehensive - LocationPicker provides Closure, Delegate and Data Source, Override for callback to suit your need.
  • All kinds of locations to pick - Users can pick locations from their current location, search results or a list of locations provided by your app.
  • Fully customizable - LocationPicker provides a great deal of customizability allowing all text to be customized along with the colors and icons. Original UI elements like UISearchBar, UITableView, MKMapItem are also accessible if you want to do some deep customization.
  • Permission worry free - LocationPicker requests location access for you.

Installation

Cocoapods

CocoaPods is a dependency manager for Cocoa projects.

You can install it with the following command:

$ gem install cocoapods

To integrate LocationPicker into your Xcode project using CocoaPods, specify it in your Podfile:

platform :ios, '8.0'
use_frameworks!

target 'YourApp' do
    pod 'LocationPickerViewController'
end

Carthage

Carthage is a decentralized dependency manager that automates the process of adding frameworks to your Cocoa application.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate LocationPicker into your Xcode project using Carthage, specify it in your Cartfile:

github "JeromeTan1997/LocationPicker"

Swift Package Manager

Swift Package Manager is a tool for managing the distribution of Swift code.

Swift Package Manager is currently only available with the Swift 3 development snapshots.

To integrate LocationPicker into your Xcode project using Swift Package Manager, specify it in your Packages.swift:

import PackageDescription

let package = Package(
    name: "Your Project Name",
    targets: [],
    dependencies: [
        .Package(url: "https://github.com/JeromeTan1997/LocationPicker.git", versions: "2.0.0" ..< Version.max)
    ]
)

Quick Start

Programmatically

Import LocationPicker

import LocationPicker

NOTE: If you installed via Cocoapods:

import LocationPickerViewController

Showing LocationPicker via navigation controller is very simple, just create one, add a completion closure and push it.

let locationPicker = LocationPicker()
locationPicker.pickCompletion = { (pickedLocationItem) in
    // Do something with the location the user picked.
}
navigationController!.pushViewController(locationPicker, animated: true)

To present LocationPicker, it needs to be nested inside a navigation controller so that it can be dismissed.

let locationPicker = LocationPicker()
locationPicker.pickCompletion = { (pickedLocationItem) in
    // Do something with the location the user picked.
}
locationPicker.addBarButtons()
// Call this method to add a done and a cancel button to navigation bar.

let navigationController = UINavigationController(rootViewController: customLocationPicker)
presentViewController(navigationController, animated: true, completion: nil)

Storyboard

  1. Drag a View Controller to your Storyboard.
  2. In the Identity inspector, Entry LocationPicker both in Class and Module field. NOTE: If you installed via Cocopods, the Module field should be LocationPickerViewController
  3. Create a segue and add a Identifier to it.
  4. Add the following codes in the source view controller.
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
    if segue.identifier == "Your Identifier" {
        let locationPicker = segue.destinationViewController as! LocationPicker
        locationPicker.pickCompletion = { (pickedLocationItem) in
            // Do something with the location the user picked.
        }
    }
}

That's all you need to have a fully functional location picker in your app. How easy!

Note: To use current location, don't forget to add NSLocationWhenInUseUsageDescription to your info.plist

Customization

Methods

func addBarButtons

This method provides 3 optional parameter. doneButtonItem and cancelButtonItem can be set as the customized UIBarButtonItem object. doneButtonOrientation is used to determine how to align these two buttons. If none of the parameters is provided, two system style buttons would be used, and the done button would be put on the right side.

After this method is called, these two buttons can be accessed via barButtonItems property.

func setColors

This method aims to set colors more conveniently. themColor will be set to currentLocationIconColor, searchResultLocationIconColor, alternativeLocationIconColor, pinColor. primaryTextColor and secondaryTextColor can also be set by this method.

func setLocationDeniedAlertControllerTitle

This method provides the text of locationDeniedAlertController simultaneously.

If this method is not called, the alert controller will be presented like this

Grant button will direct user to the Settings where location access can be changed.

Boolean

Property name Default Target Remark
allowArbitraryLocation false Allows the selection of locations that did not match or exactly match search results
mapViewZoomEnabled true mapView.zoomEnabled Whether the map view can zoom in and out
mapViewShowsUserLocation true mapView.showsUserLocation Whether the map view shows user's location
mapViewScrollEnabled true mapView.scrollEnabled Whether user can scroll the map view
isRedirectToExactCoordinate true Whether redirect to the exact coordinate after queried
alternativeLocationEditable false tableViewDataSource.tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) Whether user can delete the provided locations in table view
forceReverseGeocoding false Whether to force reverse geocoding or not. If this property is set to true, the location will be reverse geocoded

Note: If alternativeLocationEditable is set to true, please adopt Location Deletion callback to delete the location from database or memory.

Text

Property name Default Target Remark
currentLocationText "Current Location" currentLocationCell.locationNameLabel.text The text that indicates the user's current location
searchBarPlaceholder "Search for location" searchBar.placeholder The text that ask user to search for locations
locationDeniedAlertTitle "Location access denied" alertController.title The text of the alert controller's title
locationDeniedAlertMessage "Grant location access to use current location" alertController.message The text of the alert controller's message
locationDeniedGrantText "Grant" alertAction.title The text of the alert controller's Grant button
locationDeniedCancelText "Cancel" alertAction.title The text of the alert controller's Cancel button

Color

Property name Default Target Remark
tableViewBackgroundColor UIColor.whiteColor() tableView.backgroundColor The background color of the table view
currentLocationIconColor UIColor(hue: 0.447, saturation: 0.731, brightness: 0.569, alpha: 1) UIImage() The color of the icon showed in current location cell, the icon image can be changed via property currentLocationIconImage
searchResultLocationIconColor UIColor(hue: 0.447, saturation: 0.731, brightness: 0.569, alpha: 1) UIImage() The color of the icon showed in search result location cells, the icon image can be changed via property searchResultLocationIconImage
alternativeLocationIconColor UIColor(hue: 0.447, saturation: 0.731, brightness: 0.569, alpha: 1) UIImage() The color of the icon showed in alternative location cells, the icon image can be changed via property 'alternativeLocationIconImage'
pinColor UIColor(hue: 0.447, saturation: 0.731, brightness: 0.569, alpha: 1) UIImage() The color of the pin showed in the center of map view, the pin image can be changed via property pinImage
primaryTextColor UIColor(colorLiteralRed: 0.34902, green: 0.384314, blue: 0.427451, alpha: 1) Multiple The text color of search bar and location name label in location cells
secondaryTextColor UIColor(colorLiteralRed: 0.541176, green: 0.568627, blue: 0.584314, alpha: 1) Multiple The text color of location address label in location cells

Image

Property name Target Remark
currentLocationIconImage currentLocationCell.iconView.image The image of the icon showed in current location cell, this image's color won't be affected by property currentLocationIconColor
searchResultLocationIconImage searchResultLocationCell.iconView.image The image of the icon showed in search result location cells, this image's color won't be affected by property searchResultLocationIconColor
alternativeLocationIconImage alternativeLocationCell.iconView.image The image of the icon showed in alternative location cells, this image's color won't be affected by property alternativeLocationIconColor

Other

Property name Type Default Remark
alternativeLocations [LocationItem]? nil Locations that show under current location and search result locations
locationDeniedAlertController UIAlertController? nil Alert controller that appear when user request current location but denied the app's location permission
defaultLongitudinalDistance Double 1000 Longitudinal distance of the map view shows when user select a location and before zoom in or zoom out
searchDistance Double 10000 Distance in meters that is used to search locations

Note:

  • Alternative locations can also be provided via Data Source.
  • You don't need to set the locationDeniedAlertController if you are satisfied with the alert controller included in LocationPicker. You can change the text of the default alert controller via func setLocationDeniedAlertControllerTitle. If you want to do something other than presenting an alert controller, you can adopt Permission Denied Handler callback.

Callbacks

LocationPicker provides three different types of callbacks, they are Closure, Delegate and Data Source and Override, you can choose whichever you like. In most cases, using closures is the most convenient way. If you are already subclassing LocationPicker, override may be the best choice.

Closure

Location Pick

This completion closure is used to get user's final decision. It would be executed only once for every LocationPicker object when it is about to be dismissed.

locationPicker.pickCompletion = { (pickedLocationItem) in
    // Do something with the location the user picked.
}
Location Selection

This completion closure is used to get user's every location selection. It would be executed every time user chooses a location in the list or drag the map view.

locationPicker.selectCompletion = { (selectedLocationItem) in
    // Do something with user's every selection.
}
Location Deletion

If alternativeLocations is not empty and alternativeLocationEditable is set to true, this closure will be executed when user delete a location item in the table view.

locationPicker.deleteCompletion = { (deletedLocationItem) in
    // Delete the location.
}
Permission Denied Handler

By default, when user request current location but denied the app's location access, LocationPicker will present an alert controller that links to the Settings. You can change the text in the alert controller by calling func setLocationDeniedAlertControllerTitle. If you need to do something other than presenting an alert controller, you can set this closure.

locationPicker.locationDeniedHandler = { (locationPicker) in
    // Ask user to grant location access of this app.
}

Delegate and Data Source

To use a delegate or data source, the following steps need to be taken:

  1. Conform to LocationPickerDelegate or LocationPickerDataSource
class YourViewController: LocationPickerDelegate, LocationPickerDataSource
  1. Set delegate or dataSource to this class
locationPicker.delegate = self
locationPicker.dataSource = self
  1. Implement methods in delegate or dataSource
Location Pick

This delegate method is used to get user's final decision. It would be called only once for every LocationPicker object when it is about to be dismissed.

func locationDidPick(locationItem: LocationItem) {
    // Do something with the location the user picked.
}
Location Selection

This delegate method is used to get user's every location selection. It would be called every time user chooses a location in the list or drag the map view.

func locationDidSelect(locationItem: LocationItem) {
    // Do something with user's every selection.
}
Alternative Locations

This data source method is used to provide locations that show under current location and search result locations. Instead of using delegate, you can also just set the alternativeLocations property.

func numberOfAlternativeLocations() -> Int {
    // Get the number of locations you need to add to the location list.
    return count
}
func alternativeLocationAtIndex(index: Int) -> LocationItem {
    // Get the location item for the specific index.
    return locationItem
}
Location Deletion

If alternativeLocations is not empty and alternativeLocationEditable is set to true, this data source method will be called when user delete a location item in the table view.

func commitAlternativeLocationDeletion(locationItem: LocationItem) {
    // Delete the location.
}
Permission Denied Handler

By default, when user request current location but denied the app's location access, LocationPicker will present an alert controller that links to the Settings. You can change the text in the alert controller by calling func setLocationDeniedAlertControllerTitle. If you need to do something other than presenting an alert controller, you can set this delegate method.

func locationDidDeny(locationPicker: LocationPicker) {
    // Ask user to grant location access of this app.
}

Override

If you prefer to subclass LocationPicker, these methods can be overridden to achieve the same result as closure and delegate.

Location Pick

This method is used to get user's final decision. It would be called only once for every LocationPicker object when it is about to be dismissed.

override func locationDidPick(locationItem: LocationItem) {
    // Do something with the location the user picked.
}
Location Selection

This method is used to get user's every location selection. It would be called every time user chooses a location in the list or drag the map view.

Note: If you override these methods, the corresponding closure and delegate method won't be executed.

override func locationDidSelect(locationItem: LocationItem) {
    // Do something with user's every selection.
}
Location Deletion

If alternativeLocations is not empty and alternativeLocationEditable is set to true, this method will be called when user delete a location item in the table view.

override func alternativeLocationDidDelete(locationItem: LocationItem) {
    // Delete the location.
}
Permission Denied Handler

By default, when user request current location but denied the app's location access, LocationPicker will present an alert controller that links to the Settings. You can change the text in the alert controller by calling func setLocationDeniedAlertControllerTitle. If you need to do something other than presenting an alert controller, you can set this method.

override func locationDidDeny(locationPicker: LocationPicker) {
    // Ask user to grant location access of this app.
}

Location Item

LocationItem is a encapsulation class of MKMapItem to save you from importing MapKit everywhere in your project. To make it more convenient to use, it equips with several computing properties to access the MKMapItem.

Storage

LocationItem is conformed to NSCoding, which means LocationItem object can be encoded to NSData object and decoded back.

let locationData = NSKeyedArchiver.archivedDataWithRootObject(locationItem)
let locationItem = NSKeyedUnarchiver.unarchiveObjectWithData(locationData) as! LocationItem

Equatable

The hash value of LocationItem is "\(coordinate.latitude), \(coordinate.longitude)".hashValue, so objects that have the same latitude and longitude are equal.

Properties

Property name Type Target Remark
name String mapItem.name The name of the location
coordinate (latitude: Double, longitude: Double)? mapItem.placemark.coordinate The coordinate of the location and converted to tuple. If the user is offline or there is no search result and the allowArbitraryLocation property of LocationPicker is set to true, this property will be nil
addressDictionary [NSObject: AnyObject]? mapItem.placemark.addressDictionary The address dictionary of the location
formattedAddressString String? addressDictionary?["FormattedAddressLines"] The address text formatted according to user's region

If you want to access other properties of MKMapItem object, just call locationItem.mapItem.

Initialization

init(mapItem: MKMapItem)

Since LocationItem is just the encapsulation of MKMapItem, of course you can create a LocationItem with a MKMapItem object.

init(coordinate: (latitude: Double, longitude: Double), addressDictionary: [String: AnyObject])

You can also initialize with the coordinate and address dictionary.

If you don't want to store LocationItem objects as NSData, you can just store the coordinate and address dictionary, and use this method to initialize.

init(locationName: String)

A location can be created with only a name. In this case, the value of property coordinate would be nil.

Change Log

CHANGELOG.md

Contribute

  • If you encounter any bugs or other problems, please create issues or pull requests.
  • If you want to add more features to LocationPicker, you are more than welcome to create pull requests.
  • If you are good at English, please correct my English.
  • If you like the project, please star it and share with others.
  • If you have used LocationPicker in your App, please tell me by creating an issue.

License

The MIT License (MIT)

Copyright (c) 2016 Jerome Tan

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Comments
  • Map moves automatically

    Map moves automatically

    Hi,

    I find LocationPicker very easy to use however facing an issue.

    The place mark moves randomly. Please see attached. How to fix this? map3

    Thanks Ashish

    opened by ashish-naik 20
  • Preselection feature

    Preselection feature

    Hey @JeromeTan1997 ,

    Is there a way to preselect a location? Something like that:

    let locationPicker = LocationPicker()
    locationPicker.pickedLocationItem = myItem
    

    or

    locationPicker.pickedAddress = "Central Park"
    
    opened by Ewg777 4
  • Compatibility with Objective-C

    Compatibility with Objective-C

    Hello Jerome,

    Thanks for making such a great framework and sharing it with the world.

    I am currently working on an Objective-C project and I was wondering if you could make your framework compatible with Objective-C.

    Thank you.

    opened by ghost 3
  • Incompatible with Swift 5

    Incompatible with Swift 5

    I am getting a compiler error using Swift 5:

    {path to project}/Pods/LocationPickerViewController/LocationPicker/LocationItem.swift:122:24: value of type 'AnyObject' has no member 'hashValue'

    This is the function causing problems:

    open override func isEqual(_ object: Any?) -> Bool { guard let object = object else { return false } return (object as! NSObject).hashValue == hashValue }

    Since this class subclasses from NSObject, can we use the default NSObject isEqual definition instead? Thanks for looking into this.

    opened by Rebecca-Qian 2
  • Change the scope of variables and methods

    Change the scope of variables and methods

    Please, make all of LocationPickerViewController varibles and methods open not public.

    This is really annoying to changed this code manually if you want to override this class.

    opened by yurevich1 2
  • Localization question

    Localization question

    Hi there, awesome location picker!

    How can I change the language the addresses are written in. All addresses are in English, but I would like them to be in Spanish.

    Thank you

    opened by guillotemanija 2
  • FEATURE: History of searched locations

    FEATURE: History of searched locations

    First of, I would like to thank you for the amazing work you have done so far!

    There is just one thing that I and maybe some other people are still missing, which is a support for history of searched locations.

    It could be placed right bellow 'Current location' and have exactly the same behavior.

    Let me know what do you think about it.

    Thank you in advance!

    opened by vongrad 2
  • issue with Carthage

    issue with Carthage

    I was trying to include this library into my project through Carthage, but the command of 'carthage update' returned the following error message: (carthage version 0.16.2)

    Failed to read file or folder at /private/var/folders/lw/4h75rrkj6c74_htcv9nkk2rw0000gn/T/carthage-archive.Be2knk/__MACOSX/LocationPicker.framework: Error Domain=com.antitypical.Result Code=0 "the DTSDKName key in its plist file is missing" UserInfo={com.antitypical.Result.function=readFailed, NSLocalizedDescription=the DTSDKName key in its plist file is missing, com.antitypical.Result.line=776, com.antitypical.Result.file=/tmp/carthage20160413-39362-hmnet1/Source/CarthageKit/Project.swift}

    opened by j-gao 2
  • Minor updates to latest Swift version (5.4)

    Minor updates to latest Swift version (5.4)

    This PR includes simple build setting changes to point to latest Swift 5.4 version. I have also added more files gitignore and untrack previous files which were accidentally tracked eg: .DS_Store and other user specific device settings.

    opened by MussaCharles 1
  • LocationItem

    LocationItem

    open override func isEqual(_ object: Any?) -> Bool {
            guard let object = object else { return false }
            return (object as AnyObject).hash == hashValue
        }
    
    opened by wakaryry 1
  • [LocationItem] Fatal Crash in Release Build

    [LocationItem] Fatal Crash in Release Build

    LocationItem initialization seems to crash on iOS 11, perhaps when location or internet is disabled. Here's a stacktrace

    0 | LocationPickerViewController | _hidden#211 line 141specialized LocationItem.init(coder : NSCoder) -> LocationItem -- | -- | -- 1 | LocationPickerViewController | hidden#211 line 0_hidden#165 2 | Foundation | _decodeObjectBinary + 1720 4 | Foundation | +[NSKeyedUnarchiver unarchiveObjectWithData:] + 88 5 | interview | hidden#5816 line 22_hidden#5770 6 | interview | hidden#5816 line 0_hidden#5742 7 | LocationPickerViewController | _hidden#71 line 340specialized LocationPicker.tableView(UITableView, numberOfRowsInSection : Int) -> Int 8 | LocationPickerViewController | hidden#71 line 0_hidden#432 9 | UIKit | -[UITableView _numberOfRowsInSection:] + 68 40 | UIKit | UIApplicationMain + 236

    Line 141 of LocationItem is this one:

    let addressDictionary = aDecoder.decodeObject(forKey: "addressDictionary") as! [String: AnyObject]
    

    I suspect a force downcast would cause the crash but I am not sure what would cause this.

    opened by bennnjamin 1
  • LocationCell labels text not visible when RTL

    LocationCell labels text not visible when RTL

    Hello, Thanks for the great library. I face an issue when changing the device to RTL language LocationCell labels (locationNameLabel , locationAddressLabel) text not visible (app is fully localized ). Please someone advice, please

    opened by abmgames 1
  • Even searchDistance is limited, cities can be searched and selected globally

    Even searchDistance is limited, cities can be searched and selected globally

    Hi zhuorantan,

    Thanks for your framework. It really fits our needs. Unfortunately there is one thing we experienced which is not working correctly. I'd like to limit the searchDistance with the provided parameter. It works fine except for searching for city names like London, New York, Frankfurt,...

    Do you think you could fix this behavior or maybe there is something I oversaw.

    Thank you for any help you can provide!

    Here's a screenshot: Bildschirmfoto 2019-07-26 um 23 36 36

    opened by bierwini 2
  • Compilation error on XCode 10.2

    Compilation error on XCode 10.2

    Compilation error on XCode 10.2 Class: LocationItem In method: open override func isEqual(_ object: Any?) -> Bool

    Error: Value of type 'AnyObject' has no member 'hashValue'

    opened by barylevy 8
  • Use MKLocalSearchCompleter instead of MKLocalSearchRequest

    Use MKLocalSearchCompleter instead of MKLocalSearchRequest

    https://medium.com/@ishabazz/location-search-using-mapkit-works-ae94f3c3dbd7

    Can localsearch request be replaced by local search completer, it offers better completion even Apple uses MKLocalSearchCompleter in their maps according to the answer for the SO question. https://stackoverflow.com/questions/43249382/mklocalsearch-doesnt-provide-the-same-results-as-search-in-native-apple-maps-ap

    opened by TwunTee 2
Releases(3.4)
Owner
Zhuoran
iOS Developer / WWDC19 Scholarship Winner
Zhuoran
McPicker is a customizable, closure driven UIPickerView drop-in solution with animations that is rotation ready.

McPicker About McPicker is a UIPickerView drop-in solution with animations that is rotation ready. The more string arrays you pass, the more picker co

Kevin McGill 207 Dec 13, 2022
FYPhoto is a photo/video picker and image browser library for iOS written in pure Swift. It is feature-rich and highly customizable to match your App's requirements.

FYPhoto is a photo/video picker and image browser library for iOS written in pure Swift. It is feature-rich and highly customizable to match your App's requirements.

null 10 Dec 11, 2022
A SwiftUI List Picker to replace system Picker in List

BetterListPicker An alternative customizable list picker in order to replace built-in non customizable Picker when we write settings view codes. Demo

Jinya 1 Apr 11, 2022
A simple yet customizable horizontal and vertical picker view

WheelPicker A simple yet customizable horizontal and vertical picker view Features Vertical or Horizontal picker Image or Text data Configure UILabel

Mind Studios 74 Sep 26, 2022
A simple, customizable Country picker for picking country or dialing code. 🇮🇳 🇯🇵 🇰🇷 🇩🇪 🇨🇳 🇺🇸 🇫🇷 🇪🇸 🇮🇹 🇷🇺 🇬🇧

CountryPicker A simple, customizable Country picker for picking country or dialing code. This library is for country picker used in many app for selec

Suryakant 243 Dec 8, 2022
A fully customizable iOS Horizontal PickerView library, written in pure swift

ADDatePicker is Horizontal Date Picker Library written in Swift Requirements Communication Installation Usage Demo Customization Credits License Requi

Abhishek Dave 166 Dec 21, 2022
Elegant and Easy-to-Use iOS Swift Date Picker

D2PDatePicker Example To run the example project, clone the repo, and run pod install from the Example directory first. Example Code: Programmatical I

Pradheep Rajendirane 292 Nov 6, 2022
An iOS picker view to serve all your "picking" needs

Mandoline The PickerView is a UICollectionView that provides a smooth "picking" interface. In order to get the most out of it, a consuming view contro

Blue Apron 883 Nov 28, 2022
🎯 Swift country and phone code Picker

CountryPicker Picker code Swift 3 / 4 / 5. Example To run the example project, clone the repo, and run pod install from the Example directory first. U

null 207 Dec 22, 2022
Multi-picker for iOS and Mac available in SwiftUI

Multi-picker for iOS and Mac available in Swift UI

1amageek 5 Jul 12, 2022
iOS/macOS media picker for importing images and videos in SwiftUI

iOS/macOS media picker for importing images and videos in SwiftUI.

Mobile Development Club 13 Dec 30, 2022
Date picker dialog for iOS

DatePickerDialog 4.0 - iOS - Swift DatePickerDialog is an iOS drop-in classe that displays an UIDatePicker within an UIAlertView. Requirements DatePic

Squimer 535 Dec 17, 2022
a picker view shown as a popup for iOS in Objective-C

CZPicker Demo Change Log 3 most recent changes are listed here. Full change logs v0.4.3 - 2016-08-12 Added - (void)czpickerViewWillDisplay:(CZPickerVi

Chen Zeyu 527 Oct 2, 2022
A country picker view controller for iOS

Planet A country picker view controller for iOS. Installation CocoaPods You can use CocoaPods to install Planet by adding it to your Podfile: platform

kWallet 71 Jul 11, 2022
MICountryPicker is a country picker controller for iOS8+ with an option to search.

MICountryPicker MICountryPicker is a country picker controller for iOS8+ with an option to search. The list of countries is based on the ISO 3166 coun

Mustafa Ibrahim 90 Mar 27, 2021
A drop in single image picker.

PHSingleImagePicker A low memory, single image picker wrapper that provide a significant smaller file size while also preserve high image quality. Int

Phanith NY 0 Nov 6, 2021
React-native-place-picker: Pick any place with single click 🚀

React-native-place-picker: Pick any place with single click ??

b0iq 59 Dec 29, 2022
A SwiftUI implementation of a picker that also allows direct input.

ComboPicker ComboPicker is a SwiftUI view that allows users to input a value by selecting from a predefined set or by typing a custom one. Installatio

Alessio Moiso 5 Sep 13, 2022
🔸 A customizable alternative to UIPickerView in Swift.

PickerView PickerView is an easy to use and customize alternative to UIPickerView written in Swift. It was developed to provide a highly customizable

Filipe Alvarenga 488 Dec 21, 2022