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 : StringProtocolParameters
- title:
A string that describes the contents of the group.