A representation of a version of the directory.
Used to describe the conflicted or local versions of a directory in case there are conflicts.
Members (7)
get · iOS 26.0+
description
TypeScript
get description(): string
Swift declaration
var description: String { get }
A textual representation of this instance.
Calling this property directly is discouraged. Instead, convert an
instance of any type to a string by using the `String(describing:)`
initializer. This initializer works with any type, and uses the custom
`description` property for types that conform to
`CustomStringConvertible`:
struct Point: CustomStringConvertible {
let x: Int, y: Int
var description: String {
return "(\(x), \(y))"
}
}
let p = Point(x: 21, y: 30)
let s = String(describing: p)
print(s)
// Prints "(21, 30)"
The conversion of `p` to a string in the assignment to `s` uses the
`Point` type's `description` property.
get · iOS 26.0+
modifiedDate
TypeScript
get modifiedDate(): globalThis.Date
Swift declaration
var modifiedDate: Date
The date that this version was last modified.
set · iOS 26.0+
modifiedDate
TypeScript
set modifiedDate(value: globalThis.Date)
Swift declaration
var modifiedDate: Date
The date that this version was last modified.
get · iOS 26.0+
localizedNameOfSavingComputer
TypeScript
get localizedNameOfSavingComputer(): string
Swift declaration
var localizedNameOfSavingComputer: String { get }
The localized name of the device that saved this version.
get · iOS 26.0+
id
TypeScript
get id(): string
Swift declaration
var id: URL { get }
The stable identity of the entity associated with this instance.
get · iOS 26.0+
url
TypeScript
get url(): string
Swift declaration
var url: URL { get }
The URL of a directory where you read and write game-save data.
You define the format and structure of files you write in this directory.
get · iOS 26.0+
isLocal
TypeScript
get isLocal(): boolean
Swift declaration
var isLocal: Bool { get }
`true` if the directory version is local; otherwise `false`.