PluginAnnotation

@propertyWrapper
public struct PluginAnnotation<T>

插件属性包装器注解 使用示例: @PluginAnnotation(TestPluginProtocol.self) static var testPlugin: TestPluginProtocol

  • Undocumented

    Declaration

    Swift

    public init(_ pluginProtocol: Protocol)
  • Undocumented

    Declaration

    Swift

    public init(_ pluginProtocol: Protocol, object: Any)
  • Undocumented

    Declaration

    Swift

    public var wrappedValue: T { get set }