← ClaudeAtlas

alarmkitlisted

Implement AlarmKit alarms and countdown timers for iOS and iPadOS with Lock Screen, Dynamic Island, and Apple Watch system UI. Covers AlarmManager scheduling, AlarmAttributes and AlarmPresentation, AlarmButton stop and snooze actions, authorization, state observation, and Live Activity integration. Use when building wake-up alarms, countdown timers, or alarm-style alerts that need Apple's system alarm experience.
dpearson2699/swift-ios-skills · ★ 730 · AI & Automation · score 80
Install: claude install-skill dpearson2699/swift-ios-skills
# AlarmKit Schedule prominent alarms and countdown timers that surface on the Lock Screen, Dynamic Island, and Apple Watch. AlarmKit requires iOS 26+ / iPadOS 26+. Alarms override Focus and Silent mode automatically. AlarmKit builds on Live Activities -- every alarm creates a system-managed Live Activity with templated UI. You configure the presentation via `AlarmAttributes` and `AlarmPresentation` rather than building custom widget views. See [references/alarmkit-patterns.md](references/alarmkit-patterns.md) for complete code patterns including authorization, scheduling, countdown timers, snooze handling, and widget setup. ```swift import AlarmKit ``` ## Contents - [Workflow](#workflow) - [Authorization](#authorization) - [Alarm vs Timer Decision](#alarm-vs-timer-decision) - [Scheduling Alarms](#scheduling-alarms) - [Countdown Timers](#countdown-timers) - [Alarm States](#alarm-states) - [AlarmAttributes and AlarmPresentation](#alarmattributes-and-alarmpresentation) - [AlarmButton](#alarmbutton) - [Live Activity Integration](#live-activity-integration) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Workflow ### 1. Create a new alarm or timer 1. Add `NSAlarmKitUsageDescription` to Info.plist with a user-facing string. 2. Request authorization with `AlarmManager.shared.requestAuthorization()`. 3. Configure `AlarmPresentation` (alert, countdown, paused states). 4. Create `AlarmAttributes` with the presentatio