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

textCase(_:)

Sets a transform for the case of the text contained in this view when displayed. 表示される時にこのビューの中に含まれるテキストのケースに対してある変換を設定します。

Declaration 宣言

func textCase(_ textCase: Text.Case?) -> some View

Return Value 戻り値

A view that transforms the case of the text. あるビュー、それはテキストのケースを変換したものです。

Parameters パラメータ

textCase

One of the Text.Case enumerations; the default is nil. Text.Case列挙のうちの1つ;省略時にはnilです。

Discussion 議論

The default value is nil, displaying the text without any case changes. 省略時の値はnilです、何らケース変更なしでテキストを表示します。

See Also 参照

Text Style