Contents

+=(_:_:)

Appends an attributed string or substring to another attributed string.

Declaration

static func += (lhs: inout AttributedString, rhs: some AttributedStringProtocol)

Parameters

  • lhs:

    An attributed string. After the operation, the value of this string is the original lhs string with rhs appended to it.

  • rhs:

    An attributed string or substring to append to lhs.

See Also

Combining Attributed Strings