M
M
massshka2021-01-06 20:50:46
Swift
massshka, 2021-01-06 20:50:46

Which database to choose for an iOS toy?

In all the lessons they talk about firebase, but I doubt it a little, because I have never heard anything about this thing

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korotenko, 2021-01-06
@firedragon

If the state is only online then the choice is good, if you need only local then sqlite is better

N
Name, 2021-01-07
@1nd3e

What do you need to store? If something simple like last result, selected settings and something like that, then choose UserDefaults. If you need to record the fact of buying something inside the game, then use Keychain. If there is more data and you need a full-fledged database, then look towards CoreData or Realm. By the way, CoreData can store data in the cloud using CloudKit and it's free. But if you have a cross-platform, you need backing and all that, then take Firebase.
Here is a great article on the subject: https://fluffy.es/persist-data/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question