One Logo Pool Ball
Foundation · IOS API REFERENCE

NSFileVersion

class · iOS 5.0+ · SDK 27.1

class NSFileVersion

Members (19)

static · iOS 5.0+

currentVersionOfItem

TypeScript
static currentVersionOfItem(url: string): (NSFileVersion) | null
Swift declaration
class func currentVersionOfItem(at url: URL) -> NSFileVersion?
static · iOS 8.0+

getNonlocalVersionsOfItem

TypeScript
static getNonlocalVersionsOfItem(url: string, completionHandler: ((arg0: (Array<NSFileVersion>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func nonlocalVersionsOfItem(at url: URL) async throws -> [NSFileVersion]
static · iOS 5.0+

otherVersionsOfItem

TypeScript
static otherVersionsOfItem(url: string): (Array<NSFileVersion>) | null
Swift declaration
class func otherVersionsOfItem(at url: URL) -> [NSFileVersion]?
static · iOS 5.0+

removeOtherVersionsOfItem

TypeScript
static removeOtherVersionsOfItem(url: string): void
Swift declaration
class func removeOtherVersionsOfItem(at url: URL) throws
static · iOS 5.0+

unresolvedConflictVersionsOfItem

TypeScript
static unresolvedConflictVersionsOfItem(url: string): (Array<NSFileVersion>) | null
Swift declaration
class func unresolvedConflictVersionsOfItem(at url: URL) -> [NSFileVersion]?
static · iOS 5.0+

version

TypeScript
static version(url: string, persistentIdentifier: unknown): (NSFileVersion) | null
Swift declaration
class func version(itemAt url: URL, forPersistentIdentifier persistentIdentifier: Any) -> NSFileVersion?
method · iOS 5.0+

remove

TypeScript
remove(): void
Swift declaration
func remove() throws
method · iOS 5.0+

replaceItem

TypeScript
replaceItem(url: string, options?: NSFileVersion_ReplacingOptions): string
Swift declaration
func replaceItem(at url: URL, options: NSFileVersion.ReplacingOptions = []) throws -> URL
get · iOS 5.0+

url

TypeScript
get url(): string
Swift declaration
var url: URL { get }
get · iOS 5.0+

isConflict

TypeScript
get isConflict(): boolean
Swift declaration
var isConflict: Bool { get }
get · iOS 8.0+

hasLocalContents

TypeScript
get hasLocalContents(): boolean
Swift declaration
var hasLocalContents: Bool { get }
get · iOS 8.0+

hasThumbnail

TypeScript
get hasThumbnail(): boolean
Swift declaration
var hasThumbnail: Bool { get }
get · iOS 5.0+

localizedName

TypeScript
get localizedName(): (string) | null
Swift declaration
var localizedName: String? { get }
get · iOS 5.0+

localizedNameOfSavingComputer

TypeScript
get localizedNameOfSavingComputer(): (string) | null
Swift declaration
var localizedNameOfSavingComputer: String? { get }
get · iOS 5.0+

modificationDate

TypeScript
get modificationDate(): (globalThis.Date) | null
Swift declaration
var modificationDate: Date? { get }
get · iOS 10.0+

originatorNameComponents

TypeScript
get originatorNameComponents(): (PersonNameComponents) | null
Swift declaration
var originatorNameComponents: PersonNameComponents? { get }
get · iOS 5.0+

persistentIdentifier

TypeScript
get persistentIdentifier(): SDKHandle
Swift declaration
var persistentIdentifier: any NSCoding { get }
get · iOS 5.0+

isResolved

TypeScript
get isResolved(): boolean
Swift declaration
var isResolved: Bool { get set }
set · iOS 5.0+

isResolved

TypeScript
set isResolved(value: boolean)
Swift declaration
var isResolved: Bool { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NSFileVersion.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All Foundation types →