Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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