Post

Replies

Boosts

Views

Activity

Reply to SwiftUI toolbar in MacOS 15 bug ?
Still not fixed in macOS 15.3 (24D60). FB15513599 import SwiftUI struct ContentView: View { @State private var showEditItem = false var body: some View { VStack { VStack { Text("Instructions to reproduce the crash") .font(.title) .padding() Text(""" 1. Click on "Toggle Item" 2. In the menu go to File > New Window 3. In new window, click on "Toggle Item" """) } .padding() Button { showEditItem.toggle() } label: { Text("Toggle Item") } } .padding() .toolbar(id: "main") { ToolbarItem(id: "new") { Button { } label: { Text("New…") } } if showEditItem { ToolbarItem(id: "edit") { Button { } label: { Text("Edit…") } } } } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’25
Reply to SwiftUI toolbar with IDs crash since macOS 15
Still experiencing this issue with macOS 15.3 Beta 3 (build 24D5055b). I guess Apple’s focus has shifted to promoting TV shows and generating bogus news summaries, rather than addressing bugs in features that have been part of macOS since its inception 24 years ago. So much for “the modern way to build apps is SwiftUI” slide in a recent WWDC video...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’25