Good news — we’ve released an update to Core Data by Tutorials, Third Edition!
This update handles a small change in Xcode 8.1, which defaults the Codegen setting of your project to Class Definition.
Previous versions of Xcode, including Xcode 8.0 (which we used to write this book), used the default Codegen setting of Manual/None. However, the change in Xcode 8.1 to default Codegen to Class Definition means working through some of the chapters in the first version of the book won’t work as described.
Since Chapters 2 and 3 walk you through manual creation of your managed object subclasses, you don’t want Xcode to generate this code for you. The fix is simply to make sure your Codegen setting is set to Manual/None before you compile your project for the first time. If you make this change after compiling your project, it can be a pain to remove the generated code.
So we’ve updated Core Data by Tutorials, Third Edition with explicit instructions in Chapter 2 and 3 to help you avoid this issue.
How to Get the Update
This free update is available today for all Core Data by Tutorials PDF Customers.
- If you’ve already bought the Core Data by Tutorials PDF, you can download the updated book immediately on your My Loot page.
Hat tip to all our forum members and readers who emailed in to help diagnose and correct this issue!
The post Core Data by Tutorials Update Now Available! appeared first on Ray Wenderlich.