Contents

init(content:label:)

Creates a new control group with the specified content and a label.

Declaration

nonisolated init<C, L>(@ViewBuilder content: () -> C, @ViewBuilder label: () -> L) where Content == LabeledControlGroupContent<C, L>, C : View, L : View

Parameters

  • content:

    The content to display.

  • label:

    A view that describes the purpose of the group.

See Also

Creating a control group