Classes
The following classes are available globally.
-
A coordinator object used for
See moreAnimatedImage
native view bridge for UIKit/AppKit.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
See more@ObservedObject
to associate each instance of manager to your View type, which update your view’s body from SwiftUI framework when image was loaded.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
See moreUIImageView
/NSImageView
frame size become image size issue (SwiftUI’s Bug)Declaration
Swift
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *) public class AnimatedImageViewWrapper : PlatformView
-
Use wrapper to solve the
See moreUIProgressView
/NSProgressIndicator
frame origin NaN crash (SwiftUI’s bug)Declaration
Swift
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *) public class ProgressIndicatorWrapper : PlatformView