Post

Replies

Boosts

Views

Activity

Reply to Collapse sidebar in SwiftUI (Xcode 12)
On beta4, I'm able to add a 'SidebarCommands()' entry to my scene commands. This adds a 'Toggle Sidebar' entry under the View menu on the Mac! @SceneBuilder var body: some Scene { 				WindowGroup { 					 ... <window views> ... 				} 				.commands { 						SidebarCommands() 				} }
Aug ’20