iOS database questions

@hannozandbergen hello, and welcome in the world of develop.

I understand your problem, but answer at your question is very hard. Let me explain:there isn’t a rule. every thing depend from what app you want to develop and what service you want to give to your users. Every service has features: Core Data make local saving of data; Cloud Kit let you share the data between iOS device with the same account and so on. For example: I’ve develop a dictionary of kanji. to do this I prefer to save the data locally. because for me share the data between iOS device by cloudkit don’t make sense. I could create a service and from this service download the data and use core data to save locally the datas or its changes.

An other app I’m developing has some data saved locally but other data are download from a web service.

As you can see, there is not a rule. An my suggestion is that: first, understand what app you want develop and try to understand what your app’s users needs. after that try to understand what service you need to give to your user these services. after that choose the most suitable service (core data, cloud kit, sqlite etc…)

understand?

I hope helped you.

p.s. Core data is a framework that is over the SQLite (to say in few word, but it’s more complicate to explain) and let you to use sqlite or the database in way more simple and easy and every record is an object Key-value. SQLite is the raw sqlite in which you need a write statement like SELECT * FROM People WHERE age >30 (for example)

1 Like