---
title: "cloudShare(for:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nscloudsharingvalidation/cloudshare(for:)"
---

# cloudShare(for:)

Returns the Cloud share object that corresponds to the specified item, if one exists.

## Declaration

```swift
@MainActor func cloudShare(for item: any NSValidatedUserInterfaceItem) -> CKShare?
```
