Contents

init(_:content:)

Creates a new control group with the specified content that generates its label from a string.

Declaration

nonisolated init<C, S>(_ title: S, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Text>, C : View, S : StringProtocol

Parameters

  • title:

    A string that describes the contents of the group.

See Also

Creating a control group