Post

Replies

Boosts

Views

Activity

Comment on confirmationDialog crashes with Button.init(action, @ViewBuilder label)
I did see that, but I don't automatically have a good idea of what it means. I'm used to declarative UI libraries like Cocoa and Delphi, where the views would be represented by objects of a class, and have a property "label" or "text" or whatever. The code for confirmation dialog could read that, but in SwiftUI, as we have here, the Button is a black box, so it is not clear how it can read the label string. It's a hidden requirement. Grrrr. I hate those.
May ’23