Contents

lastObject

The last object in the fetch result.

Declaration

var lastObject: ObjectType? { get }

Discussion

You specify the ordering of a fetch result in the PHFetchOptions object you pass to a fetch method.

Returns nil if the fetch result is empty.

See Also

Querying a Fetch Result