Instance Property


The results of the fetch.


@property(nonatomic, readonly) NSArray<ResultType> *fetchedObjects;


The value of the property is nil if performFetch: hasn’t been called.

The results array only includes instances of the entity specified by the fetch request (fetchRequest) and that match its predicate. (If the fetch request has no predicate, then the results array includes all instances of the entity specified by the fetch request.)

The results array reflects the in-memory state of managed objects in the controller’s managed object context, not their state in the persistent store. The returned array does not, however, update as managed objects are inserted, modified, or deleted.

See Also

Accessing Results

- objectAtIndexPath:

Returns the object at the given index path in the fetch results.

- indexPathForObject:

Returns the index path of a given object.