Post

Replies

Boosts

Views

Activity

Comment on Using if statement in .overlay causes app to freeze when using withAnimation
I see. Thank you for your help!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’24
Comment on Using if statement in .overlay causes app to freeze when using withAnimation
This creates a split second artifact where the text and progress can be seen disappearing during the fade animation, so I tried using completion: { ... } with great success! withAnimation { isShowing = false } completion: { self.title = "" self.message = "" self.percentage = 0 } Is there an explanation to why the freeze occurs?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’24
Comment on fileImporter download progress from files in iCloud Drive
Just to add on, I actually tried using NSMetadataQuery, and for some reason the ubiquitous item keys were all returning nil. Not too sure why it's happening, might have to talk to Apple Developer Technical Support for help.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on Using SwiftData in background?
Facing a similar issue too with contexts residing in interactive widgets. Except the data isn’t lost, it just requires a restart of the main app to get the updated data. Data seems to merge just fine even when editing the outdated data in the main app, but it’s still an issue.
Replies
Boosts
Views
Activity
Oct ’23