ShortcutGroup
public struct ShortcutGroup : Shortcut
An affordance for grouping shortcut content.
-
The contents of the shortcut.
Declaration
Swift
public var body: some Shortcut { get }
-
Initializes the shortcut group with the specified content.
Declaration
Swift
public init<Content>(@ShortcutBuilder content: () -> Content) where Content : Shortcut
Parameters
content
The shortcut builder that creates shortcuts.