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