Class

NSSharingServicePickerTouchBarItem

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

Declaration

@interface NSSharingServicePickerTouchBarItem : NSTouchBarItem

Topics

Setting the Delegate

delegate

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

NSSharingServicePickerTouchBarItemDelegate

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

Configuring the Appearance

buttonImage

The image displayed in the sharing service picker item button.

buttonTitle

The text displayed in the sharing service picker item button.

Enabling the Item

enabled

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

Instance Properties

Relationships

Inherits From

See Also

Touch Bar Items

NSTouchBarItem

A UI control shown in the Touch Bar on supported models of MacBook Pro.

NSCandidateListTouchBarItem

A bar item that, along with its delegate, provides a list of textual suggestions for the current text view.

NSColorPickerTouchBarItem

A bar item that provides a system-defined color picker.

NSCustomTouchBarItem

A bar item that contains a responder of your choice, such as a view, a button, or a scrubber (an instance of the NSScrubber class).

NSGroupTouchBarItem

A bar item that provides a bar to contain other items.

NSPopoverTouchBarItem

A bar item that provides a two-state control that can expand into its second state, showing the contents of a bar that it owns.

NSSliderTouchBarItem

A bar item that provides a slider control for choosing a value in a range.

NSUserInterfaceCompressionOptions

An object that specifies how user interface elements resize themselves when space is constrained.