EmptyPluginView
@MainActor
public struct EmptyPluginView : UIViewRepresentable
空界面插件视图包装器。如果需要显示空界面时可滚动,放到滚动视图内部即可
-
Undocumented
Declaration
Swift
@MainActor public init()
-
Undocumented
Declaration
Swift
@MainActor public func text(_ text: AttributedStringParameter?) -> EmptyPluginView
-
Undocumented
Declaration
Swift
@MainActor public func detail(_ detail: AttributedStringParameter?) -> EmptyPluginView
-
Undocumented
Declaration
Swift
@MainActor public func image(_ image: UIImage?) -> EmptyPluginView
-
Undocumented
Declaration
Swift
@MainActor public func loading(_ loading: Bool) -> EmptyPluginView
-
Undocumented
Declaration
Swift
@MainActor public func action(_ action: AttributedStringParameter?, block: (@MainActor @Sendable (Any) -> Void)?) -> EmptyPluginView
-
Undocumented
Declaration
Swift
@MainActor public func actions(_ actions: [AttributedStringParameter]?, block: (@MainActor @Sendable (Int, Any) -> Void)?) -> EmptyPluginView
-
Declaration
Swift
public typealias UIViewType = UIView
-
Declaration
Swift
@MainActor public func makeUIView(context: Context) -> UIView
-
Declaration
Swift
@MainActor public func updateUIView(_ uiView: UIView, context: Context)
-
Declaration
Swift
@MainActor public static func dismantleUIView(_ uiView: UIView, coordinator: ())