+=(_:_:)
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
lhsstring withrhsappended to it. - rhs:
An attributed string or substring to append to
lhs.