IndicatorViewStyle
public struct IndicatorViewStyle : RawRepresentable, Equatable, Hashable, Sendable
指示器视图样式枚举,可扩展
-
Declaration
Swift
public typealias RawValue = Int
-
默认指示器样式
Declaration
Swift
public static let `default`: IndicatorViewStyle
-
Toast样式
Declaration
Swift
public static let toast: IndicatorViewStyle
-
Refresh下拉刷新样式
Declaration
Swift
public static let refreshPulldown: IndicatorViewStyle
-
Refresh上拉追加样式
Declaration
Swift
public static let refreshPullup: IndicatorViewStyle
-
Empty样式
Declaration
Swift
public static let empty: IndicatorViewStyle
-
Image样式
Declaration
Swift
public static let image: IndicatorViewStyle
-
Image占位样式
Declaration
Swift
public static let imagePlaceholder: IndicatorViewStyle
-
全部样式,全局设置
Declaration
Swift
public static let all: IndicatorViewStyle
-
自定义样式尺寸,默认nil
Declaration
Swift
public static func setIndicatorSize(_ size: CGSize, for style: IndicatorViewStyle)
-
自定义样式颜色,默认nil
Declaration
Swift
public static func setIndicatorColor(_ color: UIColor?, for style: IndicatorViewStyle)
-
获取自定义样式尺寸,默认nil
Declaration
Swift
public var indicatorSize: CGSize? { get }
-
获取自定义样式颜色,默认nil
Declaration
Swift
public var indicatorColor: UIColor? { get }
-
Declaration
Swift
public var rawValue: Int
-
Declaration
Swift
public init(rawValue: Int)
-
Undocumented
Declaration
Swift
public init(_ rawValue: Int)