FrameworkConfiguration

@_spi(FW)
public actor FrameworkConfiguration

框架内部静态配置,用于扩展兼容Swift 6静态属性

FrameworkConfiguration+URLResponseSerialization

  • Undocumented

    Declaration

    Swift

    public static var imageDecodeBlock: (@Sendable (_ data: Data, _ scale: CGFloat, _ options: [ImageCoderOptions : Any]?) -> UIImage?)?

FrameworkConfiguration+RequestConfig

  • 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)?

FrameworkConfiguration+BarStyle

  • Undocumented

    Declaration

    Swift

    public static var appearanceChanged: (@MainActor @Sendable (UIViewController) -> Void)?

FrameworkConfiguration+Bundle

  • Undocumented

    Declaration

    Swift

    public static var imageNamedBlock: (@Sendable (_ name: String, _ bundle: Bundle?) -> UIImage?)?

FrameworkConfiguration+Toolkit

  • Undocumented

    Declaration

    Swift

    public static var isViewControllerProtocol: (@Sendable (UIViewController) -> Bool)?