Rift_Valley_Timer_ComplicationsEntryView

@MainActor
struct Rift_Valley_Timer_ComplicationsEntryView : View

Adapts the complication entry to the selected watch face family and rendering mode.

  • The widget family used by the current watch face slot.

    Declaration

    Swift

    @Environment
    @MainActor
    private var family: WidgetFamily { get }
  • Whether the watch face renders full color or applies its own accent styling.

    Declaration

    Swift

    @Environment
    @MainActor
    private var renderingMode: WidgetRenderingMode { get }
  • The dated countdown state to show in this slot.

    Declaration

    Swift

    @MainActor
    let entry: Rift_Valley_Timer_Watch_App_Entry
  • The original-color RVT mark for full-color watch faces.

    Declaration

    Swift

    @MainActor
    private static let fullColorLogo: UIImage
  • The template RVT mark for system-tinted watch faces.

    Declaration

    Swift

    @MainActor
    private static let templateLogo: UIImage
  • Rasterizes a bounded-size complication logo and converts it to a template if requested.

    Declaration

    Swift

    @MainActor
    private static func loadLogo(named name: String, asTemplate: Bool) -> UIImage
  • The current phase symbol or an app logo suited to the watch face rendering mode.

    Declaration

    Swift

    @MainActor
    private var iconImage: Image { get }
  • The phase tint when the watch face accepts full color.

    Declaration

    Swift

    @MainActor
    private var phaseColor: Color? { get }
  • A resizable phase symbol or logo with the appropriate watch face styling.

    Declaration

    Swift

    @MainActor
    private var icon: some View { get }
  • The countdown text sized and styled for a single line.

    Declaration

    Swift

    @MainActor
    private var time: some View { get }
  • Declaration

    Swift

    @MainActor
    var body: some View { get }