HYPPluginModule
@protocol HYPPluginModule <NSObject>
HYPPluginModule protocol represents an instance of a plugin.
-
Creates a new plugin module with the provided extension.
Declaration
Objective-C
- (nonnull instancetype)initWithExtension: (nonnull id<HYPPluginExtension>)extension;Swift
init(with extension: HYPPluginExtension)Parameters
extensionThe extension the plugin module should be created with.
-
Represents if the plugin is currently active.
Declaration
Objective-C
@property (readonly, nonatomic) BOOL active;Swift
var active: Bool { get } -
The extension that the plugin module was intialized with.
Declaration
Objective-C
@property (readonly, nonatomic, nonnull) id<HYPPluginExtension> extension;Swift
var `extension`: HYPPluginExtension { get }
View on GitHub
HYPPluginModule Protocol Reference