currentPersistentHistoryToken(fromStores:)
Returns a single persistent history token representing all of the specified stores.
Declaration
func currentPersistentHistoryToken(fromStores stores: [Any]?) -> NSPersistentHistoryToken?Parameters
- stores:
The persistent stores of interest.
Return Value
A persistent history token, or nil if the coordinator can’t create one.
Discussion
If you specify nil or provide an empty array, the coordinator attempts to create a token for all of its registered stores.