---
title: inferMoves
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsorderedcollectiondifferencecalculationoptions/infermoves
---

# inferMoves

An option that identifies insertions or removals as moves.

## Declaration

```swift
static var inferMoves: NSOrderedCollectionDifferenceCalculationOptions { get }
```

## Discussion

Discussion When you use the option to infer moves, the difference calculation adds an associated index to change objects to indicate the original positions of the objects.

## See Also

### Difference Calculation Options

- [omitInsertedObjects](foundation/nsorderedcollectiondifferencecalculationoptions/omitinsertedobjects.md)
- [omitRemovedObjects](foundation/nsorderedcollectiondifferencecalculationoptions/omitremovedobjects.md)
