Contents

setRenderingAttributes(_:for:)

Sets the rendering attributes for the range you specify.

Declaration

func setRenderingAttributes(_ renderingAttributes: [NSAttributedString.Key : Any], for textRange: NSTextRange)

Parameters

  • renderingAttributes:

    A dictionary of rendering attributes.

  • textRange:

    The text range over which to apply renderingAttributes.

See Also

Adjusting rendering