---
title: "init(operation:intent:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uitableviewdropproposal/init(operation:intent:)"
---

# init(operation:intent:)

Creates a drop proposal object that specifies how to incorporate the dropped content.

## Declaration

```swift
init(operation: UIDropOperation, intent: UITableViewDropProposal.Intent)
```

## Parameters

- `operation`: The type of operation that you want to perform. Use this parameter to specify whether you want to move the original item to this new location, move a copy of the content, or prevent the content from being inserted at this location. For a list of possible values, see doc://com.apple.uikit/documentation/UIKit/UIDropOperation.
- `intent`: The option for how to incorporate the content into the table view. You can insert the content between items or add it to an existing item.

## Return Value

Return Value An initialized drop proposal.
