version(itemAt:forPersistentIdentifier:)
Returns the version of the file that has the specified persistent ID.
Declaration
class func version(itemAt url: URL, forPersistentIdentifier persistentIdentifier: Any) -> NSFileVersion?Parameters
- url:
The URL of the file whose version you want.
- persistentIdentifier:
The persistent ID of the
NSFileVersionobject you want.
Return Value
The file version object with the specified ID or nil if no such version object exists.