small medium large xlarge

Back to: All Forums  Core Data
Generic-user-small
19 Apr 2009, 20:14
Stephen Cremin (8 posts)

Just bought the book; I’m about halfway through and have skimmed the rest.

There are two major omissions for me (in addition to a major rewrite of Chapter 2).

  1. Many-to-many relationships only receive cursory mention on page 46 (in a discussion of the use of NSPopUpButtons). As such, the book only seems to act as a guide for the most basic of data models. The book stresses that one shouldn’t approach Core Data with the mindset of a relational database designer, so does that mean that there is a better way of modeling many-to-many in Core Data than just using “join models” connected by one-to-many relationships?

  2. The contents page should stress that the iPhone chapter doesn’t discuss native use of Core Data but rather suggests a method for accessing a Core Data store using SQLite’s C API, with the assumption that Apple doesn’t change how it implements the SQLite back end. Even if the book is to be published before the NDA is lifted on the new iPhone OS, I’d have appreciated discussions throughout the text on why particular approaches might not be best suited to the iPhone given memory/speed restrictions even if one doesn’t go into detail on, say, what backing stores are available under 3.0. The sidebar on page 181 alone isn’t good enough.

Anyway, my initial feelings is that the book still needs a major revision to reach the quality one expects from The Pragmatic Bookshelf.

Avatarsmall_pragsmall
30 Apr 2009, 21:57
Marcus S. Zarra (284 posts)

With regard to the iPhone chapter. Core Data on the iPhone is 100% under NDA and since 3.0 is still in beta. Between the NDA and the beta status, anything that we put into the chapter would get us in trouble with Apple and/or be wrong when 3.0 goes live.

Generic-user-small
25 Jun 2009, 02:35
Lars Sorensen (3 posts)

Just bought this book, I searched and found not one mention of NSFetchedResultsController. I’m trying to figure out if this is the something I can use for my iPhone app. A little disappointed in this book.

Avatarsmall_pragsmall
13 Jul 2009, 02:14
Marcus S. Zarra (284 posts)

NSFetchedResultsController was only made public less than a month ago :) We could not, due to the NDA, discuss Cocoa Touch 3.0 until that release.

However, it is discussed, in detail, in the book and will be in the final release.

Generic-user-small
30 Jul 2009, 16:58
Lars Sorensen (3 posts)

Just got the new beta. Problem fixed. Whole new section on iPhone CoreData, great job. Thanks, for listening.

You must be logged in to comment