Post

Replies

Boosts

Views

Activity

UI Button if else statement
Hello, I am quite new to Swift, and trying to understand, how i can programmatically create an UI Button, that can execute code after the button has been pressed, and stop the code when the button is pressed again (with if else statements). I have studied the documentation by Apple, but can't quite get how you can achieve this.
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
2.1k
Apr ’23
UI Button if else statement
Hello, I am quite new to Swift, and trying to understand, how i can programmatically create an UI Button, that can execute code after the button has been pressed, and stop the code when the button is pressed again (with if else statements). I have studied the documentation by Apple, but can't quite get how you can achieve this.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
2
Boosts
0
Views
2.1k
Activity
Apr ’23