---
title: "perform(withItems:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nssharingservice/perform(withitems:)"
---

# perform(withItems:)

Manually performs the service on the provided items.

## Declaration

```swift
func perform(withItems items: [Any])
```

## Parameters

- `items`: The items to share.

## Discussion

Discussion In most cases this will display a sharing window.

## See Also

### Related Documentation

- [canPerform(withItems:)](appkit/nssharingservice/canperform(withitems:).md)
