Contents

performEditingTransaction(for:using:)

Performs an editing transaction on the text storage.

Declaration

func performEditingTransaction(for textStorage: NSTextStorage, using transaction: () -> Void)

Parameters

  • textStorage:

    The text storage.

  • transaction:

    The block to execute within the transaction.

See Also

Managing the editing process