Errata for Core Data (2nd edition)
We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.
The latest version of the book is P1.0, released 4 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.
| Paper | Description | Found in | Fixed in | |
|---|---|---|---|---|
| 9 |
#51137: NSManagedObjectContext ... Therefor, we hand off the reference to it to our AppDelegate so the the rest of the application can access it.
T...more...
|
P1.0
26-Mar-13 |
||
| 18/26 |
#50484: I've been unable to run the sample code because of the lack of initialization of the data base. I could not find a section of the book or note...more...
|
B4.0
18-Jan-13 |
||
| 20 |
#51451: Under the section on StoreFetchedRequests, the code snippet includes an example of using NSSortDescriptors, which are not covered until the ne...more...
|
P1.0
05-May-13 |
||
| 28 | 14 |
#50847: In Chapter 1. Under the Hood of Core Data, subsection Property Accessors there is a wrong reference in the following text:
---
Relations...more...
|
P1.0
24-Feb-13 |
|
| 29 |
#50503: These two lines are not correct:
NSArray *newArray = [NSArray arrayWithObject:newIndexPath];
NSArray *oldArray = [NSArray arrayWithObject:...more...
|
B4.0
21-Jan-13 |
||
| 29 |
#50626: [REF: Pete Hopkins B4 Note]
Within the first printing the tech. error noted by Pete Hopkins in B4 still remains.
NSArray *newArray = [NS...more...
|
P1.0
31-Jan-13 |
||
| 34 |
#50838: finalPredicate never declared either in the class or within the local method scope. You might want to check the code being posted on media.pra...more...
|
P1.0
19-Feb-13 |
||
| 39 |
#50502: The creation of the UIAlertView is done within the dispatch_async block on the global queue, which causes an error. It should be done on a blo...more...
|
B4.0
21-Jan-13 |
||
| 43 |
#50774: Screen shots of data models are equal, screen shot for version 2 is missing the Author entity and the lastUsed property. |
P1.0
08-Feb-13 |
||
| 47 |
#51476: "NSEntityMigrationPolicy is designed to be subclasses..." "Subclasses" should be "subclassed".--Zachary Klein |
P1.0
08-May-13 |
||
| 63 |
#51523: 5th Paragraph. Text mentions to "turn on external binary storage," however the corresponding image referenced (figure 13, pg. 64) shows the "...more...
|
P1.0
15-May-13 |
||
| 67 |
#50486: In the book on page 67/336 in the code for ZSContextWatcher.m, the sample shows,
NSPredicate *final = nil;
Where in the Github copy of Z...more...
|
B4.0
19-Jan-13 |
||
| 92 |
#51215: Book describes
5.5 Parent-Child NSManagedObjectContext Instances
With the release of iOS 6.0 and Mac OS X 10.8 Mountain Lion, a number of ...more...
|
P1.0
03-Apr-13 |
||
| 95 |
#50481: [self setValue:childSet forKey:key];
This line of code is VERY likely not what's wanted here (it's broken). Calling setValue on "self" refe...more...
|
B4.0
17-Jan-13 |
||
| 211 |
#51005: At the bottom of the page it says "seques" instead of "segues".--koen |
P1.0
11-Mar-13 |
||
| 219 |
#51548: Last line in the page begins with "The seques of this UIViewController."
It should be "The segues of this UIViewController." (i.e. segues i...more...
|
P1.0
20-May-13 |

