mapkit
Implement, review, or improve maps and location features in iOS/macOS apps using MapKit and CoreLocation. Use when working with Map views, annotations, markers, polylines, user location tracking, geocoding, reverse geocoding, search/autocomplete, directions and routes, geofencing, region monitoring, CLLocationUpdate async streams, or location authorization flows. Also use when working with maps, coordinates, addresses, places, directions, distance calculations, or location-based features in Swift apps.
npx skills add dpearson2699/swift-ios-skills --skill mapkit --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# MapKit Build map-based and location-aware features targeting iOS 17+ with SwiftUI MapKit and modern CoreLocation async APIs. Use `Map` with `MapContentBuilder` for views, `CLLocationUpdate.liveUpdates()` for streaming location, and `CLMonitor` for geofencing. Read [references/mapkit-patterns.md](references/mapkit-patterns.md) when you need full map setup, search, routes, Look Around, snapshots, or iOS 26 place APIs. Read [references/mapkit-corelocation-patterns.md](references/mapkit-corelocation-patterns.md) when the task involves location update lifecycle, geofencing, background location, testing, or privacy keys. ## Contents - [Workflow](#workflow) - [SwiftUI Map View (iOS 17+)](#swiftui-map-view-ios-17) - [CoreLocation Modern API](#corelocation-modern-api) - [Geocoding](#geocoding) - [Search](#search) - [Directions](#directions) - [PlaceDescriptor (iOS 26+)](#placedescriptor-ios-26) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Workflow ### 1. Add a map with markers or annotations 1. Import `MapKit`. 2. Create a `Map` view with optional `MapCameraPosition` binding. 3. Add `Marker`, `Annotation`, `MapPolyline`, `Map
- Contents
- Workflow
- 1. Add a map with markers or annotations
- 2. Track user location
- 3. Search for places
- 4. Get directions and display a route
- 5. Review existing map/location code
- SwiftUI Map View (iOS 17+)
- Marker and Annotation
- Overlays: Polyline, Polygon, Circle
- Camera Position
- Map Style
- Map Interaction Modes
- Map Selection
What does the mapkit skill do?
Implement, review, or improve maps and location features in iOS/macOS apps using MapKit and CoreLocation. Use when working with Map views, annotations, markers, polylines, user location tracking, geocoding, reverse geocoding, search/autocomplete, directions and routes, geofencing, region monitoring, CLLocationUpdate async streams, or location authorization flows. Also use when working with maps, coordinates, addresses, places, directions, distance calculations, or location-based features in Swift apps.
How do I install it?
Run `npx skills add dpearson2699/swift-ios-skills --skill mapkit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.