Initializer

init(content:label:)

Creates a group box with the provided label and view content.

Declaration 宣言

init(content: () -> Content, label: () -> Label)

Parameters パラメータ

content

A ViewBuilder that produces the content for the group box.

label

A ``SwiftUI/ViewBuilder` that produces a label for the group box.

See Also 参照

Creating a Group Box グループボックスを作成する