Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Kulan Kahadugoda
2,149 PointsShould I use SQLite to store data within my app?
Hi everyone,
I'm making a hierarchical app where the user clicks a button to go to another page of buttons, then makes another selection, then another and finally gets to the view with the content that they're looking for. This content will consist of a few labels, and three Ints. I need to find a way to store and input this data into a collectionView. Should I use SQLite or just make a bunch of arrays? I'm not an experienced developer and this is my first app so any help would be appreciated.
Thanks in advance
1 Answer
Víctor Hernández
12,276 PointsThe information is dynamically? It means, you need to get the user input to retrieve it in another time or just depending the first selection and others, you will show some information. If your answer is the first sample maybe you need to use Core Data to store a lot of information, but not, represent the information by a model and create several NSArray using it can be fine.