<!--
{
  "availability" : [
    "iOS: 10.13.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSharingServicePickerTouchBarItem",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSSharingServicePickerTouchBarItem"
  },
  "title" : "NSSharingServicePickerTouchBarItem"
}
-->

# NSSharingServicePickerTouchBarItem

A bar item that, along with its delegate, provides a list of objects eligible for sharing.

```
class NSSharingServicePickerTouchBarItem
```

## Topics

### Setting the delegate

[`delegate`](/documentation/AppKit/NSSharingServicePickerTouchBarItem/delegate)

The object that acts as the delegate of the sharing service picker bar item.

[`NSSharingServicePickerTouchBarItemDelegate`](/documentation/AppKit/NSSharingServicePickerTouchBarItemDelegate)

A protocol that a sharing service picker item delegate uses to provide a list of items eligible for sharing.

### Configuring the appearance

[`buttonImage`](/documentation/AppKit/NSSharingServicePickerTouchBarItem/buttonImage)

The image displayed in the sharing service picker item button.

[`buttonTitle`](/documentation/AppKit/NSSharingServicePickerTouchBarItem/buttonTitle)

The text displayed in the sharing service picker item button.

### Enabling the item

[`enabled`](/documentation/AppKit/NSSharingServicePickerTouchBarItem/isEnabled)

A Boolean value that specifies whether the sharing service picker item is enabled.

### Supporting sharing

[`activityItemsConfiguration`](/documentation/AppKit/NSSharingServicePickerTouchBarItem/activityItemsConfiguration)

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CVarArg`](/documentation/Swift/CVarArg)

### Inherits From

[`NSTouchBarItem`](/documentation/AppKit/NSTouchBarItem)

---

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)