<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCloudSharingValidation",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSCloudSharingValidation"
  },
  "title" : "NSCloudSharingValidation"
}
-->

# NSCloudSharingValidation

A protocol that a Cloud-sharing toolbar item uses to get validation of an item.

```
protocol NSCloudSharingValidation : NSObjectProtocol
```

## Topics

### Getting an item’s Cloud share

[`cloudShare(for:)`](/documentation/AppKit/NSCloudSharingValidation/cloudShare(for:))

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)