---
title: NSCustomTouchBarItem
framework: appkit
role: symbol
role_heading: Class
path: appkit/nscustomtouchbaritem
---

# NSCustomTouchBarItem

A bar item that contains a responder of your choice, such as a view, a button, or a scrubber.

## Declaration

```swift
class NSCustomTouchBarItem
```

## Topics

### Providing item content

- [view](appkit/nscustomtouchbaritem/view.md)
- [viewController](appkit/nscustomtouchbaritem/viewcontroller.md)

### Configuring bar customization

- [customizationLabel](appkit/nscustomtouchbaritem/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)
- [NSGroupTouchBarItem](appkit/nsgrouptouchbaritem.md)
- [NSPopoverTouchBarItem](appkit/nspopovertouchbaritem.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)
