I'm doing an app which needs to store large data. Just like find out what is best way to do it. Where should i store it? in document folder? or in caches folder? or there a better way of storing large data? Thanks in advance.
It depends on the structure and the type of your data. If you have a relational data structure then you may consider SQlite or CoreData, if you have an intensive Object-Oriented data, then you should consider Core Data. It also depends on your skills with SQL and ORM frameworks when CoreData is higher level and use SQLite.
If your data is images, then you can store in /Library folder of your application. If your data is JSON-like format, then you can store in plist file (which can also be in /Library folder)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With