SkillAgentSearch skills...

LocationPickerForSwiftUI

A SwiftUI view for interactive geographic coordinates input.

Install / Use

/learn @alessiorubicini/LocationPickerForSwiftUI
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <img width="300" height="300" src="/assets/icon.png" alt="Package Logo"> <h1><b>Location Picker for SwiftUI</b></h1> <p> LocationPicker for SwiftUI is a Swift package that provides an easy-to-use SwiftUI view for interactive input of geographic coordinates. <br> </p> </div> <div align="center"> <a href="https://swift.org"> <!-- <img src="https://img.shields.io/badge/Swift-5.9%20%7C%206-orange.svg" alt="Swift Version"> --> <img src="https://img.shields.io/badge/Swift-5.7-orange.svg" alt="Swift Version"> </a> <a href="https://www.apple.com/ios/"> <img src="https://img.shields.io/badge/iOS-15%2B-blue.svg" alt="iOS"> </a> <a href="LICENSE"> <img src="https://img.shields.io/badge/License-MIT-green.svg" alt="License: MIT"> </a> </div>

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.

Preview

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)

  1. In Xcode, go to File > Add Package Dependencies….
  2. Enter the repository URL: https://github.com/alessiorubicini/LocationPickerForSwiftUI.
  3. 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

View on GitHub
GitHub Stars46
CategoryDevelopment
Updated2mo ago
Forks10

Languages

Swift

Security Score

95/100

Audited on Jan 25, 2026

No findings