Xcode 4 Core Data: How to use fetched property created in Data Model editor
问题 How do you implement a fetched property in Xcode 4? Here is an example of two entities, a book and a page: I followed the guidelines here to create a fetched property that references a value from the source entity using the variable $FETCH_SOURCE: http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CoreData/Articles/cdRelationships.html Now, once I have this saved and I generate the source code I get this: // Book.h #import <Foundation/Foundation.h> #import <CoreData