Post

Replies

Boosts

Views

Activity

Reply to Xcode 15.1 & iOS 17.2: SwiftData ModelContext Delete: It's only possible to delete the data after it has been inserted for about 30 seconds
I think this issue could be caused by ModelContext AutoSave, it only actually saves the data after the data have been inserted for about 30 seconds, during this delay time, the modelContext.delete() function doesn't work.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to SwiftData ModelContext AutoSave takes about 30 seconds to save the inserted data
Because I found this could be an issue of iOS 17.2, so I created another thread for this issue w/ some clearer info: https://developer.apple.com/forums/thread/740997
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to Xcode 14 failed to prepare iOS 15.7 device?
Not sure why, but after upgrading to macOS 12.6, now I can deploy the app to iPad with iOS 15.7 by Xcode 14 which does not support iOS 15.7 (previously it's impossible with old macOS version 12.5) 😅
Replies
Boosts
Views
Activity
Sep ’22