Wamih: Location-Aware Reminders for iOS, Written in Swift
An iOS reminder app that fires when you arrive at or leave a specific location — not at a fixed time. Built with Swift, Core Location, and MapKit. The 'h' is silent.
Most reminder apps ask when to remind you. Wamih asks where.
The name is a play on the Italian question "why am I here?" — perché sono qui? — abbreviated and respelled. The silent h at the end is intentional: a small, private joke about things that go unnoticed until you pay attention. It also describes the experience of forgetting something important the moment you arrive somewhere.
The Idea
Geolocation-based reminders are not a new concept — iOS's native Reminders app has supported location triggers since iOS 5. But the native implementation is binary: you set a radius, and the notification fires once when you enter or exit it. Wamih explores a more nuanced model: layered zones, directional awareness (am I approaching or departing?), and smarter deduplication so the same reminder does not fire three times because you circled the block looking for parking.
Core Location and Region Monitoring
iOS exposes geolocation capabilities through the Core Location framework. For Wamih, the relevant API is CLLocationManager's region monitoring, which allows an app to register circular geographic regions and receive callbacks when the device crosses the boundary.
Region monitoring is battery-efficient: iOS uses a combination of GPS, Wi-Fi triangulation, and cell tower data to determine location, switching between them based on accuracy requirements and power state. A well-implemented geofencing app does not drain the battery measurably.
The tricky part is managing the iOS limit of 20 simultaneously monitored regions per app. Wamih works around this by prioritising the closest regions to the user's current location, dynamically swapping regions in and out of the monitored set as the user moves.
MapKit for Visualisation
Users need to see their reminder zones on a map. MapKit provides the native iOS map component with support for custom annotations (pins) and overlays (the circular geofence areas). Each reminder is represented by a MKCircle overlay rendered with a semi-transparent fill, so users can see at a glance how large their trigger zone is and whether zones overlap.
Tapping a zone annotation opens an edit sheet where users can adjust the radius, rename the reminder, set whether it triggers on entry, exit, or both, and choose a notification sound.
Privacy First
Location data is among the most sensitive personal information an app can access. Wamih requests the minimum necessary permissions: "When In Use" location access for the map view, and "Always" access (with explicit explanation) only if the user adds a reminder, since background region monitoring requires it.
The app stores all reminder data locally on device using Core Data. No reminder, no location, and no usage data leaves the device. The privacy notice is a single, plain-language sentence.
Swift and Native iOS Development
Building Wamih in Swift — Apple's native language for iOS — meant working with the full richness of the platform APIs without any abstraction layer. Compared to cross-platform frameworks, the developer experience for Core Location and MapKit integration was notably smoother: the documentation is excellent, the APIs are cohesive, and the simulator supports simulating location scenarios and region boundary crossings.
The trade-off is that the code runs only on Apple devices. For a location app that benefits from deep OS integration, that trade-off is worth it.
The source code is available on GitHub under the MIT licence.