Type Property 型プロパティ

timer

A style displaying a date as timer counting from now.

Declaration 宣言

static let timer: Text.DateStyle

Discussion 議論


Text(event.startDate, style: .timer)

Example output: 2:32 36:59:01

See Also 参照

Getting Text Date Styles