Plugin

public protocol Plugin : Extension, NSObjectProtocol

Marta Swift plugin.

  • Plugin name.

    Declaration

    Swift

    var name: String { get }
  • Plugin author.

    Declaration

    Swift

    var author: String { get }
  • Email of the plugin author.

    Declaration

    Swift

    var email: String { get }
  • Required API version for the plugin.

    Declaration

    Swift

    var requiredApiVersion: ApiVersion { get }
  • dependencies Default implementation

    Plugin dependency identifiers.

    Default Implementation

    Declaration

    Swift

    var dependencies: [String] { get }
  • components Default implementation

    Additional plugin components.

    Default Implementation

    Declaration

    Swift

    var components: [Any] { get }