Initializer

init(id:content:)

Creates a window group with an identifier.

Declaration 宣言

init(id: String, content: () -> Content)

Parameters パラメータ

id

A string that uniquely identifies the window group. Identifiers must be unique among the window groups in your app.

content

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.