CFPlugInSetLoadOnDemand(_:_:)
Enables or disables load on demand for plug-ins that do dynamic registration (only when a client requests an instance of a supported type).
Declaration
func CFPlugInSetLoadOnDemand(_ plugIn: CFPlugIn!, _ flag: Bool)Parameters
- plugIn:
The plug-in to be loaded on demand.
- flag:
trueto enable load on demand,falseotherwise.
Discussion
Plug-ins that do static registration are load on demand by default. Plug-ins that do dynamic registration are not load on demand by default.