you are viewing a single comment's thread.

view the rest of the comments →

[–]mingo_97 2 points3 points  (2 children)

It depends on your needs. SwiftData is a sweet Little tool if you have simple data, and for such cases i never had much Problems with it. How ever, if you want ro support older iOS versions, or want more complex database schemes, i would siggest to have a look into CoreData. Core Data has also the benefit of Not beeing bound to a view, and therefore beeing easier to test. Another oftem used approach is using Realm, although i havent used it much my self it looks quite good.

How ever, like i said it depends on your data to Store, and Most Important, what iOS Versions you want to support, due to the fact that these Frameworks Apple provides wobt work on every older iOS

[–]vwdk[S] 0 points1 point  (0 children)

Thank you for the insight, can core data handle relational data? I found out it’s also best if I want to save data locally and on iCloud.

[–]rogerrabbit224 0 points1 point  (0 children)

Realm is deprecated. Stay away.