---
title: "init(placeholderItem:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uiactivityitemprovider/init(placeholderitem:)"
---

# init(placeholderItem:)

Initializes and returns a provider object with the specified placeholder data.

## Declaration

```swift
init(placeholderItem: Any)
```

## Parameters

- `placeholderItem`: An object that can stand in for the actual object you plan to create. The contents of the object may be empty but the class of the object must match the class of the object you plan to provide later.

## Return Value

Return Value An initialized provider object.
