ViewPluginImpl
@MainActor
open class ViewPluginImpl : NSObject, ViewPlugin, @unchecked Sendable
默认视图插件
-
单例模式
Declaration
Swift
@objc(sharedInstance) @MainActor public static let shared: ViewPluginImpl
-
自定义进度视图生产句柄,默认nil时ProgressView
Declaration
Swift
@MainActor open var customProgressView: (@MainActor @Sendable (ProgressViewStyle) -> (UIView & ProgressViewPlugin)?)?
-
自定义指示器视图生产句柄,默认nil时UIActivityIndicatorView
Declaration
Swift
@MainActor open var customIndicatorView: (@MainActor @Sendable (IndicatorViewStyle) -> (UIView & IndicatorViewPlugin)?)?
-
Declaration
Swift
@MainActor open func progressView(style: ProgressViewStyle) -> UIView & ProgressViewPlugin
-
Declaration
Swift
@MainActor open func indicatorView(style: IndicatorViewStyle) -> UIView & IndicatorViewPlugin