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

description(_:)

Sets the description shown for a widget when a user adds or edits it using the contents of a text view.

Declaration 宣言

func description(_ description: Text) -> some WidgetConfiguration

Return Value 戻り値

A widget configuration with a description of the widget.

Parameters パラメータ

description

A text view containing a localized string to display.