Documentation Language: Swift

Method

setReadOnly(_:)

Set the read-only state of the editing domain.

@MainActor func setReadOnly(_ readOnly: Bool)

Parameters

readOnly

true to make the domain read-only