Contents

init(makeContent:)

Creates a window group.

Declaration

nonisolated init(@ViewBuilder makeContent: @escaping () -> Content)

Parameters

  • makeContent:

    A closure that creates the content for each instance of the group.

Discussion

The window group uses the given view as a template to form the content of each window in the group.