<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ReorderDifference",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17ReorderDifferenceV"
  },
  "title" : "ReorderDifference"
}
-->

# ReorderDifference

The difference that a reordering operation produces.

```
struct ReorderDifference<ItemID, CollectionID>
```

## Topics

### Getting changes

[`destination`](/documentation/SwiftUI/ReorderDifference/destination-swift.property)

The end position of items to move during a reordering operation.

[`ReorderDifference.Destination`](/documentation/SwiftUI/ReorderDifference/Destination-swift.struct)

The destination value of a reordering operation.

[`sources`](/documentation/SwiftUI/ReorderDifference/sources)

The identifiers of items to move during a reordering operation.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)