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

iOS

Understanding Core Data

Hi All,

I have just worked through the diary app course using core data. I am just unsure of the instances where you would utilise core data to store data over something like parse, as we used in the Ribbit App?

Thanks, Alex

1 Answer

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

That's a good question and it completely depends on the app. Parse is a good service but the data resides in the cloud, which requires an internet connection. Your app will not be able to function when there is no internet connection. In addition, when a user opens up your app with a connection, you have to first download the data and then show it them.

Core Data resides locally on the device so there is no dependency on an internet connection and any interaction with the data is instantaneous.

Thank you so much Amit, I really appreciate your answer, that is much clearer to me now.