---
title: item
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiactivityitemprovider/item
---

# item

Generates and returns the actual data-bearing object.

## Declaration

```swift
var item: Any { get }
```

## Discussion

Discussion When the actual data-bearing object is required, this method is called by the provider object’s infrastructure. Subclasses must override this method and use it to perform whatever work is required to create the object and return it. You implement this method instead of the normal main() method you would implement for operation objects. This method is called on a secondary thread of your app. The system provides no built-in progress indicator, so if generating the item may take a long time you should plan on providing feedback in your app yourself.

## See Also

### Accessing the provider attributes

- [placeholderItem](uikit/uiactivityitemprovider/placeholderitem.md)
- [activityType](uikit/uiactivityitemprovider/activitytype.md)
