init(_:)
Creates a new text attributes transformer.
Declaration
init(_ transform: @escaping (AttributeContainer) -> AttributeContainer)Parameters
- transform:
A closure that defines the text transformation.
Creates a new text attributes transformer.
init(_ transform: @escaping (AttributeContainer) -> AttributeContainer)A closure that defines the text transformation.