AlarmPresentation.Countdown
An object that describes the content required for the countdown UI.
Declaration
struct CountdownOverview
The code snippet below describes how to configure a countdown UI with a pause and resume button.
let countdown = AlarmPresentation.Countdown(title: "Eggs are cooking")
let paused = AlarmPresentation.Paused(
title: "Timer paused",
resumeButton: AlarmButton(text: "Resume", textColor: .blue, systemImageName: "play.circle"))