Graphics Programs Reference
In-Depth Information
This lazy fetching makes Core Data not only easy to use, but also quite efficient.
What about to-many faults? Imagine that your application worked the other way: the user
is presented with a list of BNRAssetType objects to select from. Then, the items for that
asset type are fetched and displayed. How would this work? When the assets are first
fetched, each one has a set fault that is standing in for the NSSet of item objects:
Figure 16.17 Set faults
When the set fault is sent a message that requires the BNRItem objects, it fetches them
and replaces itself with an NSSet :
Figure 16.18 Set fault replaced
Search WWH ::




Custom Search