Concurrency of SwiftData, by Donny Wals (English)

  Рет қаралды 3,074

CocoaHeadsNL

CocoaHeadsNL

Күн бұрын

Пікірлер: 9
@rbd29
@rbd29 18 сағат бұрын
Thank you for the video. It's unfortunate that @Model are not sendable. The only option is still to fetch them from a MainActor ModelContext... I wish I saw your talk earlier. Best regards
@RFIHW
@RFIHW 2 ай бұрын
I tried leak inspector and this way, creating actor in a detached task and insert data, will still cause a leak. I believe it has no essential different with that you send container to a background thread and create a context from the container and then insert data.
@grzymsiu
@grzymsiu 10 ай бұрын
What is the best solution for relations in swiftdata? If i want to sync with API which is running regular sql db like postgres, but swiftdata's relation will be a tab with objects. Should i write a custom logic while syncing all my tables to insert data in proper way to avoid ugly nestings and duplicates of data in my json file?
@slmille4
@slmille4 6 ай бұрын
This is great, if SwiftData is a Core Data wrapper, ModelContexts are backed by NSManagedObjectContexts, and ModelObject are backed by NSManagedObjects, it should be possible to listen for NSManagedObjectContextDidSave events on the viewContext. But now I'm curious how the NSManagedObjects that the event receives are defined, especially in regards to the more Swift compatible SwiftData types...
@RFIHW
@RFIHW 2 ай бұрын
BTW, SwiftData ModelContext.didSave and willSave failed to received notification which struggle me a lot. Need help!
@ammarahmad9004
@ammarahmad9004 7 ай бұрын
When you set "Strict Concurrency Check" to "Complete", you will get a warning the message "Non-sendable type returned by call to actor-isolated function cannot cross actor boundary", How can void this.
@lapusan2008
@lapusan2008 9 ай бұрын
Nice!
@chezchezchezchez
@chezchezchezchez 4 ай бұрын
The breathing is strong with this one.
@uripre
@uripre Күн бұрын
This is possibly the worst high level programming language I've seen in my life. Well done.
Your Brain 🧠 on Swift Concurrency - iOS Conf SG 2023
30:38
iOS Conf SG
Рет қаралды 10 М.
路飞做的坏事被拆穿了 #路飞#海贼王
00:41
路飞与唐舞桐
Рет қаралды 15 МЛН
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 6 МЛН
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
3. SwiftData Dynamic Sorts and Filters
18:50
Stewart Lynch
Рет қаралды 7 М.
SwiftData Migrations | SwiftData Tutorial | #11
32:24
tundsdev
Рет қаралды 4,8 М.
Tuist, the tool you missed, by Bram Kolkman (English)
31:50
CocoaHeadsNL
Рет қаралды 3,2 М.
3 MISTAKES to avoid when using Async / Await in Swift 😌
4:41
Vincent Pradeilles
Рет қаралды 12 М.
Actor Reentrancy in Swift explained
20:18
donny wals
Рет қаралды 3 М.
SwiftData Debugging The Easy Way | SwiftData Tutorial | #11
14:03