<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSPersistentHistoryResultType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:@E@NSPersistentHistoryResultType"
  },
  "title" : "NSPersistentHistoryResultType"
}
-->

# NSPersistentHistoryResultType

The types of results from a persistent history change request.

```
enum NSPersistentHistoryResultType
```

## Topics

### Result Types

[`NSPersistentHistoryResultTypeStatusOnly`](/documentation/CoreData/NSPersistentHistoryResultType/statusOnly)

The status of the persistent history change request.

[`NSPersistentHistoryResultTypeCount`](/documentation/CoreData/NSPersistentHistoryResultType/count)

The number of persistent history changes since the requested date, token, or transaction.

[`NSPersistentHistoryResultTypeObjectIDs`](/documentation/CoreData/NSPersistentHistoryResultType/objectIDs)

The identifiers of managed objects changed since the requested date, token, or transaction.

[`NSPersistentHistoryResultTypeTransactionsAndChanges`](/documentation/CoreData/NSPersistentHistoryResultType/transactionsAndChanges)

The persistent history transactions and changes since the requested date, token, or transaction.

[`NSPersistentHistoryResultTypeTransactionsOnly`](/documentation/CoreData/NSPersistentHistoryResultType/transactionsOnly)

The persistent history transactions since the requested date, token, or transaction.

[`NSPersistentHistoryResultTypeChangesOnly`](/documentation/CoreData/NSPersistentHistoryResultType/changesOnly)

The persistent history changes since the requested date, token, or transaction.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)