currentVersionOfItem(at:)
Returns the most recent version object for the file at the specified URL.
Declaration
class func currentVersionOfItem(at url: URL) -> NSFileVersion?Parameters
- url:
The URL of the file whose version object you want.
Return Value
The version object representing the current version of the file or nil if there is no such file.