init<S, T>(T, including: S.Type)
Creates an attributed string from another attributed string, including an attribute scope.
Availability 有効性
Technology
init<S, T>(_ other: T, including scope: KeyPath
<AttributeScopes
, S.Type>) where S : AttributeScope
, T : AttributedStringProtocol
other
An attributed string or attributed substring.
scope
An Attribute
key path that identifies an attribute scope to associate with the attributed string.
init<S, T>(T, including: S.Type)