What is the uikit equal of ToolbarItemGroup

Asked on 2026-03-05

1 search

In UIKit, the equivalent of ToolbarItemGroup from SwiftUI is NSToolbarItemGroup. This is used to group items together in a toolbar, similar to how ToolbarItemGroup is used in SwiftUI to group toolbar items. You can use NSToolbarItemGroup to override the automatic behavior of grouping in AppKit, as mentioned in the session Build an AppKit app with the new design.