One Logo Pool Ball
Foundation · IOS API REFERENCE

NSOrderedCollectionDifference

class · iOS 13.0+ · SDK 27.1

class NSOrderedCollectionDifference

Members (7)

init · iOS 13.0+

init

TypeScript
static initChanges(changes: Array<NSOrderedCollectionChange>): NSOrderedCollectionDifference
Swift declaration
convenience init(changes: [NSOrderedCollectionChange])
init · iOS 13.0+

init

TypeScript
static initInsertInsertedObjectsRemoveRemovedObjects(inserts: IndexSet, insertedObjects: (Array<unknown>) | null, removes: IndexSet, removedObjects?: (Array<unknown>) | null): NSOrderedCollectionDifference
Swift declaration
convenience init(insert inserts: IndexSet, insertedObjects: [Any]?, remove removes: IndexSet, removedObjects: [Any]?)
init · iOS 13.0+

init

TypeScript
static initInsertInsertedObjectsRemoveRemovedObjectsAdditionalChanges(inserts: IndexSet, insertedObjects: (Array<unknown>) | null, removes: IndexSet, removedObjects: (Array<unknown>) | null, changes: Array<NSOrderedCollectionChange>): NSOrderedCollectionDifference
Swift declaration
init(insert inserts: IndexSet, insertedObjects: [Any]?, remove removes: IndexSet, removedObjects: [Any]?, additionalChanges changes: [NSOrderedCollectionChange])
method · iOS 13.0+

inverse

TypeScript
inverse(): NSOrderedCollectionDifference
Swift declaration
func inverse() -> Self
get · iOS 13.0+

hasChanges

TypeScript
get hasChanges(): boolean
Swift declaration
var hasChanges: Bool { get }
get · iOS 13.0+

insertions

TypeScript
get insertions(): Array<NSOrderedCollectionChange>
Swift declaration
var insertions: [NSOrderedCollectionChange] { get }
get · iOS 13.0+

removals

TypeScript
get removals(): Array<NSOrderedCollectionChange>
Swift declaration
var removals: [NSOrderedCollectionChange] { get }

Skipped declarations

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

NSOrderedCollectionDifference.transformingChanges(_:)

callback cannot propagate synchronous failure

NSOrderedCollectionDifference.init()

inherited init: cannot prove legal (class declares 5 custom initializers)

All Foundation types →