Structure

TimelineView.Context

Information passed to a timeline view’s content callback.

Declaration 宣言

struct Context

Overview 概要

The context includes both the date from the schedule that triggered the callback, and a cadence that you can use to customize the appearance of your view. For example, you might choose to display the second hand of an analog clock only when the cadence is TimelineView.Context.Cadence.seconds or faster.

Topics 話題

Getting the Date

Getting the Cadence

Invalidating the Context

See Also 参照

Creating a Timeline