IndicatorViewPlugin
@MainActor
public protocol IndicatorViewPlugin : AnyObject
自定义指示器视图协议
-
设置或获取指示器当前颜色
Declaration
Swift
@MainActor var indicatorColor: UIColor? { get set }
-
设置或获取指示器大小
Declaration
Swift
@MainActor var indicatorSize: CGSize { get set }
-
当前是否正在执行动画
Declaration
Swift
@MainActor var isAnimating: Bool { get }
-
开始加载动画
Declaration
Swift
@MainActor func startAnimating()
-
停止加载动画
Declaration
Swift
@MainActor func stopAnimating()