Contents

init(object:type:index:)

Creates a change object that represents inserting or removing an object from an ordered collection at a specific index.

Declaration

convenience init(object anObject: Any?, type: NSCollectionChangeType, index: Int)

Parameters

  • anObject:

    An optional object the change will remove or insert.

  • type:

    The type of change.

  • index:

    The index location within an ordered collection where the change applies.

See Also

Creating a Change