<!--
{
  "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/DropOperation/Set",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI13DropOperationO3SetV"
  },
  "title" : "DropOperation.Set"
}
-->

# DropOperation.Set

A set of drop operations, corresponding to matching cases
in `DropOperation`.

```
struct Set
```

## Topics

### Initializers

[`init(rawValue: Int)`](/documentation/SwiftUI/DropOperation/Set/init(rawValue:))

Creates a set of drop operations using the provided raw value.

### Type Properties

[`static let alias: DropOperation.Set`](/documentation/SwiftUI/DropOperation/Set/alias)

[`static let cancel: DropOperation.Set`](/documentation/SwiftUI/DropOperation/Set/cancel)

Cancel the operation.

[`static let copy: DropOperation.Set`](/documentation/SwiftUI/DropOperation/Set/copy)

Copy the data to the modified view.

[`static let delete: DropOperation.Set`](/documentation/SwiftUI/DropOperation/Set/delete)

Delete the data.

[`static let forbidden: DropOperation.Set`](/documentation/SwiftUI/DropOperation/Set/forbidden)

The operation is forbidden.

[`static let move: DropOperation.Set`](/documentation/SwiftUI/DropOperation/Set/move)

Move the data represented by the drag items instead of copying it.

## Relationships

### Conforms To

[`Escapable`](/documentation/Swift/Escapable)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`Equatable`](/documentation/Swift/Equatable)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`OptionSet`](/documentation/Swift/OptionSet)

[`Copyable`](/documentation/Swift/Copyable)

---

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)