One Logo Pool Ball
Foundation · IOS API REFERENCE

NSOrderedCollectionChange

class · iOS 13.0+ · SDK 27.1

class NSOrderedCollectionChange

Members (6)

init · iOS 13.0+

init

TypeScript
static initObjectTypeIndex(anObject: (unknown) | null, type: NSCollectionChangeType, index: number): NSOrderedCollectionChange
Swift declaration
convenience init(object anObject: Any?, type: NSCollectionChangeType, index: Int)
init · iOS 13.0+

init

TypeScript
static initObjectTypeIndexAssociatedIndex(anObject: (unknown) | null, type: NSCollectionChangeType, index: number, associatedIndex: number): NSOrderedCollectionChange
Swift declaration
init(object anObject: Any?, type: NSCollectionChangeType, index: Int, associatedIndex: Int)
get · iOS 13.0+

associatedIndex

TypeScript
get associatedIndex(): number
Swift declaration
var associatedIndex: Int { get }
get · iOS 13.0+

changeType

TypeScript
get changeType(): NSCollectionChangeType
Swift declaration
var changeType: NSCollectionChangeType { get }
get · iOS 13.0+

index

TypeScript
get index(): number
Swift declaration
var index: Int { get }
get · iOS 13.0+

object

TypeScript
get object(): (unknown) | null
Swift declaration
var object: Any? { get }

Skipped declarations

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

NSOrderedCollectionChange.init()

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

All Foundation types →