Post

Replies

Boosts

Views

Activity

Comment on @Published properties and the main thread
Can you show a complete sample of an instance where the value doesn't update? Because if you already dispatch to the main queue, you shouldn't get runtime errors stating that changes need to published on the main thread.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on Calling API
Hi, take a look at apples SwiftUI Tutorial: https://developer.apple.com/tutorials/swiftui/animating-views-and-transitions Take care, David
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21