Contents

init(string:attributes:range:)

Creates a new line fragment using the string, attributes, and range you provide.

Declaration

convenience init(string: String, attributes: [NSAttributedString.Key : Any] = [:], range: NSRange)

Parameters

  • string:

    An attributed string.

  • attributes:

    A dictionary of attributes.

  • range:

    The range to use from string.

See Also

Creating line fragments