Contents

synchronizeTextLayoutManagers(_:)

Synchronizes changes to all nonprimary text layout managers.

Declaration

func synchronizeTextLayoutManagers(_ completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)
func synchronizeTextLayoutManagers() async throws

Parameters

  • completionHandler:

    A completion handler that runs on success, or to handle error conditions.

Discussion

If completionHandler is nil, this method performs the operation synchronously. The framework passes any error to the completionHandler. The method blocks (or fails, if synchronous) when there’s an active transaction.

See Also

Working with layout managers