Contents

init(alertStyleWithIdentifier:)

Initializes and returns a group item configured to match system alerts.

Declaration

convenience init(alertStyleWithIdentifier identifier: NSTouchBarItem.Identifier)

Discussion

You can control spacing between items, but it is recommended to use fixedSpaceLarge to maintain consistency.

The groupUserInterfaceLayoutDirection is set to match the application’s userInterfaceLayoutDirection.

See Also

Creating a group