Contents

init(_:content:)

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

Declaration

@export(implementation) nonisolated init(_ titleResource: LocalizedStringResource, @ContentBuilder content: () -> Content)

Parameters

  • titleResource:

    Text resource for the group box’s title, which describes the content of the group box.

  • content:

    A Contentbuilder that produces the content for the group box.

See Also

Creating a group box