Reply to SwiftUI Tooltips Works "as designed" in macOS app! Thanks for the tip/hint. :-) Topic: UI Frameworks SubTopic: SwiftUI Tags: Mar ’24
Reply to SwiftUI: Changing Button Text based on some external event My solution looks like this @State var counter = 0 @State var buttonTitle = "Klick mich!" var body: some View { VStack { // other controls Button(buttonTitle) { counter += 1 buttonTitle = "\(counter) mal\(counter > 1 ? "e":"") geklickt" } } Topic: UI Frameworks SubTopic: SwiftUI Tags: Mar ’24
Reply to SwiftUI: Changing Button Text based on some external event Cool, this example code save my day and my app works in the way I have thought thanks to this examples the lead me to the right way! Topic: UI Frameworks SubTopic: SwiftUI Tags: Mar ’24