Structures

The following structures are available globally.

  • A Image View type to load image from url, data or bundle. Supports animated and static image format.

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
    public struct AnimatedImage : PlatformViewRepresentable
  • An activity indicator (system style)

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
    public struct ActivityIndicator : PlatformViewRepresentable
  • A type to build the indicator

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
    public struct Indicator<T> where T : View
  • A implementation detail View Modifier with indicator SwiftUI View Modifier construced by using a internal View type which modify the body It use type system to represent the view hierarchy, and Swift some View syntax to hide the type detail for users

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
    public struct IndicatorViewModifier<T, V> : ViewModifier where T : View, V : IndicatorReportable
  • A progress bar indicator (system style)

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
    public struct ProgressIndicator : PlatformViewRepresentable
  • A Image View type to load image from url. Supports static/animated image format.

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
    public struct WebImage : View