LayerHierarchyHostingTransactionCoordinator
A class that synchronizes updates to views and layers in different processes.
Declaration
class LayerHierarchyHostingTransactionCoordinatorMentioned in
Overview
Updates to your app’s UI occur through Core Animation’s underlying transaction mechanism. This class works with Core Animation to synchronize transactions that occur across processes in your browser app. To do that:
Add views and layer hierarchies to an instance of this class.
Share the instance between processes using createXPCRepresentation() and init(xpcRepresentation:), or encode(_:) and init(port:data:).
Perform the necessary Core Animation transactions.
Call commit() on the instance, and discard it.
For more information, see Hosting browser view layers in the rendering extension.