init(apiManager:)
Initializes the API manager for your plug-in.
Declaration
init?(apiManager: any PROAPIAccessing)Parameters
- apiManager:
An object that obtains the various API objects your plug-in will need for communicating with the host application.
Mentioned in
Discussion
Save a weak reference to the apiManager object to use in subsequent calls. The plug-in initializes its properties and instance variables and returns a pointer to self. If any part of initialization fails in an unrecoverable way, this method returns nil.