Closed. This question 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 8 years ago.
Improve this question
Its seems to be a silly question but I need your help as I am a beginner to iOS coding.
(1) My question is I need to know whether iOS have any default DATABASE or not. If yes can you share those links to me.
(2) If not can you suggest most popular database which can handle more than 50MB of data in iPad (Client side).
Thank You,
Madhav
What is the maximum size limit for storing the values in SQLite database for ios?
As per my requirement I need to store more than 50MB of database.Can you suggest which database will allow more than 50MB of database in iPad (Client side).
Is there any Size limit for SQLite Database? As I am hydride app developer by using Phonegap plugins. But I am able to store only 50MB of data by using SQLite database.
Most people I know decide on using Sqlite. Depending on your use case you may want to research:
CoreData backed by sqlite
FMDB - More low level than CoreData but comes with some performance improvements.
Write your own wrapper based on available c interface.
References:
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CoreData/Articles/cdPersistentStores.html
https://github.com/ccgus/fmdb
Related
Closed. This question 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 1 year ago.
Improve this question
I'm working on a Flash Card app, all flash cards should be stored in core data.
An important feature is allow some flash cards sync between devices and some not.
To sync flash cards between devices, I can use NSPersistentCloudKitContainer. But the problem is NSPersistentCloudKitContainer will sync all flash cards and I don't know if there is a way to disable syncing in some flash card.
One solution is to create 2 PersistentContaier, one with NSPersistentCloudKitContainer to store syncable flash cards and the other one is NSPersistentContainer to store non-sync flash cards.
But I'm not sure if this solution optimal is because it could add more complexity in the code later and it's hard to maintain 2 containers (?)
I would appreciate any advice
Manage Multiple Stores section of Setting Up Core Data with CloudKit explains how to synchronize only part of data.
WWDC 2019 session – Using Core Data With CloudKit
Closed. This question 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 2 years ago.
Improve this question
I'm actually creating my first personal project with swift which is an app that will present every prospect in the next NFL draft with info about them. I want to do kind of a database for the users to be able to browse around every player.
What I don't know how to do yet is how should I do to store the data. I thought about realm or coreData but I want to find a solution that will allow me to sync the data from a server to update the info in real-time for the users. There is no user data to update or save. I find the MongoDB Realm platform but I don't find a lot of resources about it. If anyone has any idea for how I should do, already thank you!
Have a nice day,
Matteo!
I've made good experiences with Firestore. Its free (up to a certain usage) and has quite some good and clear documentation.
https://firebase.google.com/docs/firestore/query-data/listen
I agree with the other answer. Firebase is a fantastic realtime database to use for this specific idea. It's extremely easy to get started and the documentation is straight forward. I just started using it a couple weeks ago after switching over from AWS.
Closed. This question 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 4 years ago.
Improve this question
I am trying to develop an iOS app (Swift) that requires the use of database. The app will have three different users login and courses. I have 5 database tables that i will have in my app but I am not sure which database platform to use. (I have done research and some people recommend Core data and others say Realm)Thank you for your suggestions.
Depend upon your requirement you need to choose Realm, Sqlite and CoreData database.
For Reference check this link
https://rollout.io/blog/ios-databases-sqllite-core-data-realm/
Since you are just getting started, I would suggest you to try out CoreData and see if it works for your use case. It is object oriented, works well across all Apple platforms and is well integrated with Xcode. Although, please note that this only works for local data. However, if you need (or wish) to store the data on remote server then Firebase would be the way to go. Also this might be preferable if you later wish to do analytics based on the data stored.
Both of these work pretty well and aren't exactly comparable to each other coz they have different purpose. You just need to figure out what's your long term use case and plan it out. For more details check this: https://www.quora.com/How-does-Firebase-compare-to-Core-Data
You can use Firebase if you do not want to setup your own database. You can then assign 'roles' to the users logging in. Check out Firebase authentication documentation.
If you're doing it locally, Core Data is fine.
But if you're doing it remotely (over the Internet, in the cloud), then Firebase is OK.
Closed. This question 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 7 years ago.
Improve this question
For security purpose data wants to encrypt.
I want to encrypt sqlite data in swift.
How to perform this???
I read some solution that tell me use sqlcipher but get proper solution for that
Sqlcipher is pretty much your only option if you want to completely and securely encrypt your database.
iOS has some built in functionality but these are easily circumventable.
There is a reasonable tutorial on the following link on how to prepare the encrypted db:
https://www.zetetic.net/sqlcipher/ios-tutorial/
If you are wanting to use Core Data there are very limited options available to you. The following Github repo is pretty much the only usable solution for utilising a fully encrypted database within Core Data:
https://github.com/project-imas/encrypted-core-data
Closed. This question 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 8 years ago.
Improve this question
I know this is not a technical question but I don't know where to ask elsewhere.
I use the very cool toolkit called trigger.io to develop apps for both android and ios. Now I would like to use something like a database to display data in my app.
Firstly I found a realtime backend called firebase: http://www.firebase.com/
Nice but it takes a while until one gets access to it since it is still in beta.
Then I found a cloud service called Kinvey: http://www.kinvey.com/ Also interesting, but it is free as long as only 200 users download the app.
So do you know any alternatives to store data and use it for my app?
That would be very helpful,
thanks enne
Sure. Parse is an easy option. Basic plan to get start is $0 a month.
Also, there is nothing stopping you from bundling (or download and saving and caching) a json file for use in your trigger.io app.