Contents

fetchHistory(withFetch:)

Retrieves history based on a fetch request.

Declaration

class func fetchHistory(withFetch fetchRequest: NSFetchRequest<any NSFetchRequestResult>) -> Self

Parameters

  • fetchRequest:

    The fetch request that defines the history bounds.

Return Value

A persistent history fetch request (NSPersistentHistoryChangeRequest) built using an existing fetch request.

See Also

Fetching History