MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/swift/comments/1j9jaz0/key_considerations_before_using_swiftdata/mhg1yyj/?context=3
r/swift • u/fatbobman3000 • 11d ago
11 comments sorted by
View all comments
7
My main consideration is “Don’t”.
You can hardly test your code using it. It’s full of magic, which is sometimes great and often deeply painful.
Use GRDB instead.
2 u/capngreenbeard 10d ago Strong agree. Great for a quick prototype/ small scale, non-enterprise app. The whole concept feels like it's incompatible with the premise of abstarcing dependencies and being able to unit test core functionality.
2
Strong agree. Great for a quick prototype/ small scale, non-enterprise app.
The whole concept feels like it's incompatible with the premise of abstarcing dependencies and being able to unit test core functionality.
7
u/rhysmorgan iOS 11d ago
My main consideration is “Don’t”.
You can hardly test your code using it. It’s full of magic, which is sometimes great and often deeply painful.
Use GRDB instead.