Post

Replies

Boosts

Views

Activity

Comment on @state update not reflecting on UI.
First, I used the above layout sample from to test the normal state field by commenting out all my layout-related code. It worked fine, simple counter state. Then, uncommented piece by piece to eliminate the code block with the issue. , Hope this helps. Please share what you found.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2d
Comment on @state update not reflecting on UI.
First, I used the above layout sample from @DTS Engineer to test the normal state field by commenting out all my layout-related code. It worked fine, simple counter state. Then, uncommented piece by piece to eliminate the code block with the issue. @protodimbo , Hope this helps. Please share what you found.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2d
Comment on @state update not reflecting on UI.
@protodimbo You can start with a small layout, like the above counter (use a sample like @DTS Engineer). If that works without any issue, there should be something adding too much load. Then comment whole layout and uncomment the smallest block and verify it works fine. Eliminating the issue from the list of components.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2d