---
title: NSPopoverTouchBarItem
framework: appkit
role: symbol
role_heading: Class
path: appkit/nspopovertouchbaritem
---

# 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.

## Declaration

```swift
class NSPopoverTouchBarItem
```

## Topics

### Configuring the collapsed popover

- [collapsedRepresentation](appkit/nspopovertouchbaritem/collapsedrepresentation.md)
- [collapsedRepresentationImage](appkit/nspopovertouchbaritem/collapsedrepresentationimage.md)
- [collapsedRepresentationLabel](appkit/nspopovertouchbaritem/collapsedrepresentationlabel.md)

### Configuring the expanded popover

- [popoverTouchBar](appkit/nspopovertouchbaritem/popovertouchbar.md)
- [showsCloseButton](appkit/nspopovertouchbaritem/showsclosebutton.md)
- [pressAndHoldTouchBar](appkit/nspopovertouchbaritem/pressandholdtouchbar.md)

### Expanding and collapsing a popover

- [showPopover(_:)](appkit/nspopovertouchbaritem/showpopover(_:).md)
- [dismissPopover(_:)](appkit/nspopovertouchbaritem/dismisspopover(_:).md)
- [makeStandardActivatePopoverGestureRecognizer()](appkit/nspopovertouchbaritem/makestandardactivatepopovergesturerecognizer().md)

### Configuring bar customization

- [customizationLabel](appkit/nspopovertouchbaritem/customizationlabel.md)

## Relationships

### Inherits From

- [NSTouchBarItem](appkit/nstouchbaritem.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Touch Bar items

- [NSTouchBarItem](appkit/nstouchbaritem.md)
- [NSCandidateListTouchBarItem](appkit/nscandidatelisttouchbaritem.md)
- [NSColorPickerTouchBarItem](appkit/nscolorpickertouchbaritem.md)
- [NSCustomTouchBarItem](appkit/nscustomtouchbaritem.md)
- [NSGroupTouchBarItem](appkit/nsgrouptouchbaritem.md)
- [NSSharingServicePickerTouchBarItem](appkit/nssharingservicepickertouchbaritem.md)
- [NSSliderTouchBarItem](appkit/nsslidertouchbaritem.md)
- [NSStepperTouchBarItem](appkit/nssteppertouchbaritem.md)
- [NSUserInterfaceCompressionOptions](appkit/nsuserinterfacecompressionoptions.md)
- [NSButtonTouchBarItem](appkit/nsbuttontouchbaritem.md)
- [NSPickerTouchBarItem](appkit/nspickertouchbaritem.md)
- [NSPickerTouchBarItem.ControlRepresentation](appkit/nspickertouchbaritem/controlrepresentation-swift.enum.md)
- [NSPickerTouchBarItem.SelectionMode](appkit/nspickertouchbaritem/selectionmode-swift.enum.md)
