Instance Method インスタンスメソッド

settingAttributes(_:)

Returns an attributed string by setting the attributed string’s attributes to those in a specified attribute container. 属性付き文字列をその属性付き文字列のもつ属性それらをある指定された属性コンテナの中のそれらへと設定することによって返します。

Declaration 宣言

func settingAttributes(_ attributes: AttributeContainer) -> AttributedString

Parameters パラメータ

attributes

The attribute container with the attributes to apply. 適用する属性いくつかをもつ属性コンテナ。

Return Value 戻り値

An attributed string from setting the attributed string’s attributes to those in a specified attribute container. 属性付き文字列をその属性付き文字列のもつ属性それらをある指定された属性コンテナの中のそれらへと設定することによって返します。

See Also 参照

Applying and Modifying Attributes 属性の適用と修正