hspec.io/dextr
DJ / Producer / Software Engineer
music stuff: amarti.bio
software stuff: hspec.io
🇺🇦
.task {
Task.detached { modelActor.hello() }
}
.task {
Task.detached { modelActor.hello() }
}
`MainActor.preconditionIsolated()` will, but the ModelActor obviously isn't running on MainActor's serial executor
`MainActor.preconditionIsolated()` will, but the ModelActor obviously isn't running on MainActor's serial executor
You might be right about the executor, iirc I did see times ModelActor operating on the main thread which might be what I'm thinking of
You might be right about the executor, iirc I did see times ModelActor operating on the main thread which might be what I'm thinking of
ModelActors are key for complex apps
Knowing SwiftUI view identity & how to breakdown views is crucial to avoid unnecessary context reads when working with large datasets
The docs def leave a lot out!
Aiming to blog about what I learned when I have downtime 😊
ModelActors are key for complex apps
Knowing SwiftUI view identity & how to breakdown views is crucial to avoid unnecessary context reads when working with large datasets
The docs def leave a lot out!
Aiming to blog about what I learned when I have downtime 😊