---
title: NSPersistentHistoryToken
framework: coredata
role: symbol
role_heading: Class
path: coredata/nspersistenthistorytoken
---

# NSPersistentHistoryToken

A bookmark for keeping track the most recent history that you’ve processed.

## Declaration

```swift
class NSPersistentHistoryToken
```

## Mentioned in

Consuming relevant store changes

## Overview

Overview You can save a token to disk and fetch history when your app loads based on that token. See Keep track of the most recent history in Consuming relevant store changes.

## Topics

### Initializers

- [init(coder:)](coredata/nspersistenthistorytoken/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
