init(_:including:)
Creates an attributed string from another attributed string, including an attribute scope.
Declaration
init<S, T>(_ other: T, including scope: S.Type) where S : AttributeScope, T : AttributedStringProtocolParameters
- other:
An attributed string or attributed substring.
- scope:
An attribute scope to associate with the attributed string.