A bar item that, along with its delegate, provides a list of objects eligible for sharing.
SDKs
- macOS 10.12.2+
- Mac Catalyst 13.0+
Framework
- App
Kit
Declaration
class NSSharingServicePickerTouchBarItem : NSTouch Bar Item
A bar item that, along with its delegate, provides a list of objects eligible for sharing.
SDKs
Framework
class NSSharingServicePickerTouchBarItem : NSTouch Bar Item
var delegate: NSSharing Service Picker Touch Bar Item Delegate?
The object that acts as the delegate of the sharing service picker bar item.
protocol NSSharing Service Picker Touch Bar Item Delegate
A protocol that a sharing service picker item delegate uses to provide a list of items eligible for sharing.
var button Image: NSImage?
The image displayed in the sharing service picker item button.
var button Title: String
The text displayed in the sharing service picker item button.
var is Enabled: Bool
A Boolean value that specifies whether the sharing service picker item is enabled.
class NSTouch Bar Item
A UI control shown in the Touch Bar on supported models of MacBook Pro.
class NSCandidate List Touch Bar Item
A bar item that, along with its delegate, provides a list of textual suggestions for the current text view.
class NSColor Picker Touch Bar Item
A bar item that provides a system-defined color picker.
class NSCustom Touch Bar Item
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).
class NSGroup Touch Bar Item
A bar item that provides a bar to contain other items.
class NSPopover Touch Bar Item
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.
class NSSlider Touch Bar Item
A bar item that provides a slider control for choosing a value in a range.
class NSUser Interface Compression Options
An object that specifies how user interface elements resize themselves when space is constrained.