Contents

setTextColor(_:in:)

Sets the text color for a range of text.

Declaration

@nonobjc func setTextColor(_ textColor: CGColor, in range: NSRange)

Parameters

  • textColor:

    The text color.

  • range:

    The range to which this text color applies.

See Also

Configuring colors