Post

Replies

Boosts

Views

Activity

Comment on SwiftUI view execution confusion, both buttons execute same code
Thanks Claude31 that worked great, but how does changing the button style change the execution? I thought styles were more to do with the look and feel of the button, but didn't realize it would effect the execution. Or is just the fact that there was a buttonstyle at all. Just trying to figure out why it worked, so I can use it in other situations. Thanks
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21