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

# DropConfiguration

Describes the behavior of the drop.

```
struct DropConfiguration
```

## Topics

### Initializers

[`init(operation: DropOperation)`](/documentation/SwiftUI/DropConfiguration/init(operation:))

Creates a configuration value with the operation chosen
by the drop destination.

[`init<ItemID, CollectionID>(operation: DropOperation, destination: ReorderDifference<ItemID, CollectionID>.Destination)`](/documentation/SwiftUI/DropConfiguration/init(operation:destination:))

Creates a drop configuration with the provided operation and reorder
destination.

### Instance Properties

[`var acceptedItemCount: Int?`](/documentation/SwiftUI/DropConfiguration/acceptedItemCount)

Specifies the number of items that the drop side wants to accept.

[`var operation: DropOperation`](/documentation/SwiftUI/DropConfiguration/operation)

The drop operation that the drop chooses to perform.

---

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)