Generic Initializer
init(_:including:)
Creates a reference-type attributed string from the specified value-type attributed string, including an attribute scope that a key path identifies.
Parameters
パラメータ
attrStr
The value-type attributed string that provides the text and attributes of the new object.
scope
A key path that identifies the attribute scope of the attributes in attrStr
. This can be a nested scope that contains several scopes.
これは、ある入れ子にされたスコープであることができます、それは幾つかのスコープを含むものです。
See Also
参照
Creating a Reference-Type Attributed String from a Value Type
init(AttributedString)
Creates a reference-type attributed string from the specified value-type attributed string.