init<S, T>(T, including: KeyPath<AttributeScopes, S.Type>)
Creates an attributed string from another attributed string, including an attribute scope that a key path identifies.
Availability 有効性
Technology
init<S, T>(_ other: T, including scope: S.Type) where S : AttributeScope
, T : AttributedStringProtocol
other
An attributed string or attributed substring.
scope
An attribute scope to associate with the attributed string. 属性付き文字列と結びつけられることになるある属性スコープ。
init<S, T>(T, including: KeyPath<AttributeScopes, S.Type>)