AMLActivityIndicator

public struct AMLActivityIndicator : UIViewRepresentable

A SwiftUI Wrapper around UIActivityIndicatorView.

  • A SwiftUI Wrapper around UIActivityIndicatorView

    Declaration

    Swift

    public init(isAnimating: Binding<Bool> = .constant(true))

    Parameters

    isAnimating

    Binding that determines whether the acitivty indicator is animating.

  • Declaration

    Swift

    public func makeUIView(context: Context) -> UIActivityIndicatorView
  • Declaration

    Swift

    public func updateUIView(
        _ uiView: UIActivityIndicatorView,
        context: Context
    )