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
Simen Anthonsen
1,097 PointsWhat is the best way to store a thousand objects?
I am making an app where i need to store different products. What I have done now is making a Product class, and different instances of that class. This works great. But I plan to make over 1000 instances of products and surely hard coding it this way would not be the smartest choice. If you hard code the products, you won´t be able to make changes to any products for any future updates, I´ve heard. How should I store the instances of Products?
Simen Anthonsen
1,097 PointsHi Jason Teo! I have now saved 197 objects in Parse, but when i try to retrieve them, I only get 92 of them. I am pretty sure there is nothing wrong with my code, because when at the time i had around 50 saved objects, I managed to retrieve all of them. Do you know if that has something to do with the 30 request per second limit?
Jason Teo
Courses Plus Student 8,398 PointsJason Teo
Courses Plus Student 8,398 PointsTry using cloud database like Parse, and download the data to your app when required. www.parse.com