View

extension View
  • Undocumented

    Declaration

    Swift

    func topographicBackground() -> some View
  • Conditional view modifier. If the provided condition evaluates to ‘true’, the modifier is applied.

    • Example: swift Text("Hello, World!") .if(isLoading) { $0.skeletonText() }

    Declaration

    Swift

    @ViewBuilder
    func `if`(_ condition: Bool, transform: (Self) -> some View) -> some View

    Return Value

    The modified view.

GaugeWatcherListRowModifier

  • A view modifier that applies the default list style for the app.

    Declaration

    Swift

    func trackerList() -> some View
  • A view modifier that applies the default list row style for the app.

    Declaration

    Swift

    func trackerListRow() -> some View

InfoSheetListModifier

  • Undocumented

    Declaration

    Swift

    public func infoSheetList() -> some View

PulseEffect

  • A view modifier that applies a pulsing effect to a view.

    Declaration

    Swift

    func pulseEffect(color: Color = .red) -> some View

SkeletonTextModifier

  • A view modifier that applies a skeleton text style. ie, a gray rectangle with rounded corners while the text is loading.

    Declaration

    Swift

    func skeletonText() -> some View

SnackbarModifier

  • Adds a snackbar overlay to a view. Typically used with tier one (root tab views) containing views.

    Declaration

    Swift

    func snackbar() -> some View

TrackTapAction

TrackViewModifier

  • Undocumented

    Declaration

    Swift

    func trackView(_ name: String) -> some View