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 Build a Diary App Using Core Data Understanding Core Data Defining our Data Model

Jorge Guzman
PLUS
Jorge Guzman
Courses Plus Student 21,390 Points

CoreData and Parse.com

Hi,

Does anybody know how to relate and manage the data I could have in the cloud with coreData?. I am confused trying to define my data model.

Many thanks in advance,

Jorge

3 Answers

Jorge,

Parse and Core Data are two very different concepts. Prase allows you to store your model in the cloud and share information between multiple devices/users. Core Data is used to manage data stored on the device. Typically if you have relationships in your data that are not easily stored in a file (such as a plist or user default) you will use Core Data. Using Core Data does not allow you to share that data between devices it is specific to that device only. If you need to share data between devices you need some place for the data to reside that is accessible by all devices such as Parse or some server backend.

Craig Booker
Craig Booker
14,968 Points

So once you have your CoreData functioning locally, any tutorial suggestions for storing the data on Parse?