FrameworkConfiguration
@_spi(FW)
public actor FrameworkConfiguration
框架内部静态配置,用于扩展兼容Swift 6静态属性
-
Undocumented
Declaration
Swift
public static var imageDecodeBlock: (@Sendable (_ data: Data, _ scale: CGFloat, _ options: [ImageCoderOptions : Any]?) -> UIImage?)?
-
Undocumented
Declaration
Swift
public static var showErrorBlock: (@MainActor @Sendable (_ context: AnyObject?, _ error: Error) -> Void)?
-
Undocumented
Declaration
Swift
public static var showLoadingBlock: (@MainActor @Sendable (_ context: AnyObject?) -> Void)?
-
Undocumented
Declaration
Swift
public static var hideLoadingBlock: (@MainActor @Sendable (_ context: AnyObject?) -> Void)?
-
Undocumented
Declaration
Swift
public static var appearanceChanged: (@MainActor @Sendable (UIViewController) -> Void)?
-
Undocumented
Declaration
Swift
public static var imageNamedBlock: (@Sendable (_ name: String, _ bundle: Bundle?) -> UIImage?)?
-
Undocumented
Declaration
Swift
public static var isViewControllerProtocol: (@Sendable (UIViewController) -> Bool)?