I have successfully implemented SQLite in my app and it is working perfectly fine, retrieving and storing data is working, however i have one issue, in one of my Classes there are almost 9 arrays, which are storing data coming from web services and displaying on UITableView, i need to make storing for that Array in database, i have tried with SQLite however it doesn't work, because array cannot be stored in that. Please help me with this
Asked
Active
Viewed 221 times
0
-
can u please give a code which u use to store in array?? – Romit M. Sep 28 '12 at 07:07
2 Answers
3
Check this before thinking to save lots of data into plist: Should I save in plist or Core Data?
Besides storing it in a plist you basically have two alternatives.
You need to write them one by one in separate entries in a SQLite DB or store them also one by one with core data.
You may check this for more core data details Best practice? - Array/Dictionary as a Core Data Entity Attribute
For a related topic see here Store NSMutable Array into sqlite database

Community
- 1
- 1

user387184
- 10,953
- 12
- 77
- 147
1
Try saving it in a plist in the documentsDirectory of the project ,because plist supports datatypes like array,dictionaries

AppleDelegate
- 4,269
- 1
- 20
- 27