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

setAttributes(_:)

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

Declaration 宣言

mutating func setAttributes(_ attributes: AttributeContainer)

Parameters パラメータ

attributes

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

Relationships 関係

From Protocol 由来プロトコル

See Also 参照

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