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
Christopher Dyer
3,634 PointsTypical Core Data Stack - errors in xcode6
I am trying to re-create the IOS (Obj-C) core data tutorial in xcode6, but the first exercise (to move the core data stack to its own file) contains so many compiler errors in the THCoreDataStack.m file, I am unable to continue.
Importing core data into .h solved a lot of problems, but 1) Each synthesize has an error - @synthesize not allowed in a category's implementation.
2) 'use of undeclared identifier' errors in managedObjectModel and persistentStoreCoordinator, but not managedObjectContext nor saveContext.
3) in defaultStack method, THCoreDataStack / CoreDataStack is an unknown type? In xcode 6, the file names are NSObject+CoreDataStack.h/m, and interface is NSObject (CoreDataStack).
Before investing too much time and effort correcting this tutorial, I at least would prefer to see it converted into a functional swift tutorial.