---
title: NSOrderedCollectionDifferenceCalculationOptions
framework: foundation
role: symbol
role_heading: Structure
path: foundation/nsorderedcollectiondifferencecalculationoptions
---

# NSOrderedCollectionDifferenceCalculationOptions

Constants that specify the options to use when creating an ordered collection difference.

## Declaration

```swift
struct NSOrderedCollectionDifferenceCalculationOptions
```

## Topics

### Creating Difference Calculation Options

- [init(rawValue:)](foundation/nsorderedcollectiondifferencecalculationoptions/init(rawvalue:).md)

### Difference Calculation Options

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

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Comparing with Another Array

- [NSOrderedCollectionDifference](foundation/nsorderedcollectiondifference.md)
