---
title: NSOrderedCollectionChange
framework: foundation
role: symbol
role_heading: Class
path: foundation/nsorderedcollectionchange
---

# NSOrderedCollectionChange

An object that represents an indexed change within an ordered collection.

## Declaration

```swift
class NSOrderedCollectionChange
```

## Overview

Overview An ordered collection change represents changes by adding, removing, or moving objects within an ordered collection. Changes with an associated index indicate a move within the collection.

## Topics

### Creating a Change

- [init(object:type:index:)](foundation/nsorderedcollectionchange/init(object:type:index:).md)
- [init(object:type:index:associatedIndex:)](foundation/nsorderedcollectionchange/init(object:type:index:associatedindex:).md)

### Accessing the Change

- [changeType](foundation/nsorderedcollectionchange/changetype.md)
- [index](foundation/nsorderedcollectionchange/index.md)
- [object](foundation/nsorderedcollectionchange/object.md)
- [associatedIndex](foundation/nsorderedcollectionchange/associatedindex.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Accessing Changes

- [hasChanges](foundation/nsorderedcollectiondifference/haschanges.md)
- [insertions](foundation/nsorderedcollectiondifference/insertions.md)
- [removals](foundation/nsorderedcollectiondifference/removals.md)
- [NSCollectionChangeType](foundation/nscollectionchangetype.md)
