Post

Replies

Boosts

Views

Activity

Comment on Contents of .sheet() are being redrawn after dismiss and not presenting
I have a BIG problem with SwiftUI evaluating my sheet again after the user dismissed it: Even though the sheet is not shown again, the sheet's .task is run again, trying to download data again. The .task must not be run a second time after dismissing the sheet. That clearly is a major bug!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’25
Comment on Share arbitrary struct from HostApp to Extension and get arbitrary result back
OK, that sounds reasonable. I will remove JSON and try just to share my ShareInput struct once the other problems are solved. Thanks, Marc
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24