mirror of
https://github.com/rensbreur/SwiftTUI.git
synced 2026-04-03 00:18:31 -06:00
Can't react to the state of a class instance? #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iwa on 6/24/2025
hello,
first let me prephrase that i'm a Swift newbie so it might just be a misunderstanding and skill issue
i'm trying to centralize my app state into its own class, so i can provide methods to mutate the data all over my app
tried to do something like below, but the app does not respond to the buttons input
am i doing something wrong or is it not possible / intended cause bad practice?