Live data from Hacker News

SwiftData

developer.apple.com

11–20 of 109 posts

Re: SwiftData

#12

I’m actually really looking forward to this. I tried building a few apps in 100% SwiftUI coming from React/Node.js and it was a pretty major pain. I also don’t know UIKit so I couldn't easily fallback.

The typing of NSPredicate seems like a big upgrade as well. I went through all the old outdated docs for core data but still things aren’t very clear in my mind. Hoping the typing helps

Re: SwiftData

#13

It’d be interesting to see a performance comparison of SwiftData vs. (objc?) CoreData vs. plain XML for large datasets. I recall plain XMLs being faster than CoreData a few years ago in certain scenarios.

“Combining Core Data’s proven persistence technology and Swift’s modern concurrency features, SwiftData enables you to add persistence to your app quickly”

Re: SwiftData

#16
post #3
post #2

Noob here, how does SwiftData compare to Redux (as a paradigm)?

Looks pretty different. Much closer to more modern state management approaches such as Recoil and Jotai.

What part makes you think of Recoil? CoreData (and now SwiftData over it) are more like ActiveRecord in my experience.
Post reply on HN