开发者

What should I replace Core Data with? [closed]

开发者 https://www.devze.com 2023-04-09 07:02 出处:网络
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 6 years ago.

Improve this question

I'm having a problem updating our core data sqlite DB. So far our DB is only used to cache stuff coming back from our API, but with the next release of the app we're planning to save user data, so we need the DB to work, and unless I can fix that problem Core Data+sqlite just doesn't. Hopefully we will, but just in case, I need to look at alternatives.

We need something that will do:

  • Partial updates (so we can save 1 record without saving the whole DB)
  • Migrations (so we can support upgrading old versions)
  • Relations开发者_StackOverflowhips (because our data has those)
  • Transient objects (because we don't always want to save them to the DB)

We also need something which doesn't require too big a rewrite to our model classes - ideally we'd just change the superclass and go from there. Bonus points if it's thread-safe. Do you know of any ORMs for iOS that fit those criteria?


It seems that your question has been resolved satisfactorily. Core Data does all the things you mention out of the box, so you should not have any problem there.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号