The latest version of the book is P3.0, released 6 months ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.
By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:
If you've found a new error, please submit it.
- Reported in: P3.0 (10-Jan-17)
PDF page: 29
let results = [NSManagedObject]? = nil
should be replaced by
var results = [NSManagedObject]? = nil
to make it mutable.--Ewald Heck
- Reported in: P3.0 (12-Jan-17)
PDF page: 36
In Chapter 2, section Loading the Data Model, the data controller is described as being a subclass of NSObject but the code downloaded from the pragmatic bookshelf website (dated January 3 in the subfolder PPRecipes) is not a subclass of NSObject. The downloaded code does compile and run, so it’s not clear why the Controller described in the book needs to inherit from NSObject.
Also note that the website requires a page number but I’m using the epub version where pagination depends on window size.--Alex