LocationPickerController
Simple location picker with a built in maps.
Install / Use
/learn @koogawa/LocationPickerControllerREADME
LocationPickerController
Simple location picker with a built in maps. The selected item can be returned to the calling controller as a CLLocationCoordinate2D.

Usage
- Link
CoreLocation.frameworkandMapKit.frameworkto your project - Fill in
NSLocationWhenInUseUsageDescriptionin your Info.plist - Import
CoreLocationandLocationPickerController - Initialize the LocationPickerController
- Push the controller
import CoreLocation
import LocationPickerController
let viewController = LocationPickerController(success: {
[weak self] (coordinate: CLLocationCoordinate2D) -> Void in
self?.locationLabel.text = "".appendingFormat("%.4f, %.4f",
coordinate.latitude, coordinate.longitude)
})
let navigationController = UINavigationController(rootViewController: viewController)
self.present(navigationController, animated: true, completion: nil)
Installation
LocationPickerController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "LocationPickerController"
Requirements
Swift 5.0 / iOS 12.0+
Creator
License
LocationPickerController is available under the MIT license. See the LICENSE file for more info.
Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
