---
title: itemProvider
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uidragitem/itemprovider
---

# itemProvider

The item provider associated with the drag item.

## Declaration

```swift
var itemProvider: NSItemProvider { get }
```

## Mentioned in

Supporting Drag and Drop in Collection Views Supporting drag and drop in table views

## Discussion

Discussion The item provider conveys the data, or file, that the drag-and-drop activity shares between processes. The property is set when the UIDragItem instance is created. For more information, see init(itemProvider:).

## See Also

### Accessing the drag item’s data

- [localObject](uikit/uidragitem/localobject.md)
