Can I use MongoDB as a replacement for CoreData on iOS?

前端 未结 8 1377
名媛妹妹
名媛妹妹 2021-02-01 18:32

I\'m just starting to read up on NoSQL technologies such as MongoDB and CouchDB. I\'m interested in knowing whether I can use MongoDB or indeed any NoSQL technology as a replace

8条回答
  •  再見小時候
    2021-02-01 18:52

    Good question. Core Data is tied to schemas and migrations so it's pointless to use it with a NoSQL database.

    I haven't tried any of these yet, but there are some claimed solutions out there:

    • Mobile Couchbase seems to be dead but Couchbase are working on TouchDB — looks promising, from a big player
    • IRL Gaming seems to have made their own (not open source) (maybe Titanium specific)
    • If you're OK with a key/value store, there's TSDocDB based on Tokyo Cabinet and NuLevelDB based on LevelDB.

    Definitely check those out.

提交回复
热议问题