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 Typical Core Data Stack

frameworks are not included when I create the xCode file, despite I select "use core data"

when I move properties from the THAppDelegate to the THCoreDataStack" I get errors ... I thought it was due to the above so I imported the 4 libraries I see in the video manually, but the error persist. Any help?

2 Answers

Donโ€™t forget to import #import <CoreData/CoreData.h> in your CoreDateStack.h file. Hope that helps.

I imported the coredata framework in the THCoreDataStack.h and it all work. despite that I still do not understand why the project file I downloaded from here works even if there is no trace of importing coredata framework! maybe there is another solution I dont know! any thought!? thanks