Protocols
The following protocols are available globally.
-
The
GModule
struct is an opaque data structure to represent a dynamically-loaded module. It should only be accessed via the following functions.The
See moreModuleProtocol
protocol exposes the methods and properties of an underlyingGModule
instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, seeModule
. Alternatively, useModuleRef
as a lighweight,unowned
reference if you already have an instance you just want to use.Declaration
Swift
public protocol ModuleProtocol