Instance Method

object(at:)

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

Declaration

func object(at indexPath: IndexPath) -> ResultType

Parameters

indexPath

An index path in the fetch results.

If indexPath does not describe a valid index path in the fetch results, an exception is raised.

Return Value

The object at a given index path in the fetch results.

See Also

Accessing Results

var fetchedObjects: [ResultType]?

The results of the fetch.

func indexPath(forObject: ResultType)

Returns the index path of a given object.