LocationPickerForSwiftUI
A SwiftUI view for interactive geographic coordinates input.
Install / Use
/learn @alessiorubicini/LocationPickerForSwiftUIREADME
Overview
LocationPicker is a lightweight SwiftUI component for selecting geographic coordinates with Apple Maps. Present it in a sheet or navigation flow, let users tap to drop a pin, and receive live coordinate updates via a simple binding.

Features
- SwiftUI-first: Drop-in view that fits sheets, forms, and navigation flows.
- Interactive map: Tap to select a point; pin animates into place.
- Live coordinates: Selected latitude/longitude always visible.
- Zero dependencies: Built on MapKit and SwiftUI.
Requirements
- iOS: 15.0+
- Swift: 5.7+
- Xcode: 13.0+
Installation (Swift Package Manager)
- In Xcode, go to
File > Add Package Dependencies…. - Enter the repository URL:
https://github.com/alessiorubicini/LocationPickerForSwiftUI. - Select the version or branch you prefer and add the package to your target.
Support
Questions, ideas, or issues? Feel free to open an issue on GitHub.
License
MIT © 2022–present Alessio Rubicini. See LICENSE for details.
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
