Classes

The following classes are available globally.

  • A coordinator object used for AnimatedImagenative view bridge for UIKit/AppKit.

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
    public final class AnimatedImageCoordinator : NSObject
  • A Image observable object for handle image load process. This drive the Source of Truth for image loading status. You can use @ObservedObject to associate each instance of manager to your View type, which update your view’s body from SwiftUI framework when image was loaded.

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
    public final class ImageManager : ObservableObject
    extension ImageManager: IndicatorReportable
  • Use wrapper to solve tne UIImageView/NSImageView frame size become image size issue (SwiftUI’s Bug)

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
    public class AnimatedImageViewWrapper : PlatformView
  • Use wrapper to solve the UIProgressView/NSProgressIndicator frame origin NaN crash (SwiftUI’s bug)

    See more

    Declaration

    Swift

    @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
    public class ProgressIndicatorWrapper : PlatformView