79418527

Date: 2025-02-06 15:52:04
Score: 1
Natty:
Report link

You’ll want to use TimelineView for this. .everyMinute updates on the minute so you can update your clock

TimelineView(.everyMinute) { timelineContext in
    let minute = Calendar.current.component(.minute, from: timelineContext.date)
    …
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Peter of the Norse