SafariWebExtensionHandler creates new object for every request

A new instance of SafariWebExtensionHandler (which is set as the NSExtensionPrincipal class) inside the app extension is created for every incoming message from the browser extension.

  1. Is this something that can be changed?
  2. What is the lifecycle of this object?
  3. If I have to instantiate other class objects, would they have to be singleton instances?
SafariWebExtensionHandler creates new object for every request
 
 
Q