
This code is easy.
3 buttons, in this order:
1. "No Role"
2. "Cancel"
3. "Destructive"
Wrong!
SwiftUI button roles affect more than you might think (not only order).
Also: check out why macOS is politically correct compared to SwiftUI🕵️
whattheswift.com/swiftui-button…

English











