查询的时候,如果不执行[NSFetchRequest setReturnsObjectsAsFaults:NO] 方法的话,返回的数据都是nil的。为什么会这样呢?
上网查了下,有些眉目了 :) Faulting is a mechanism Core Data employs to reduce your application’s memory usage.
and
A fault is a placeholder object that represents a managed object that has not yet been fully realized, or a collection object that represents a relationship: