---
title: target
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscolorpickertouchbaritem/target
---

# target

An object that is notified when a user interacts with the color picker.

## Declaration

```swift
weak var target: AnyObject? { get set }
```

## See Also

### Obtaining the selected color

- [color](appkit/nscolorpickertouchbaritem/color.md)
- [action](appkit/nscolorpickertouchbaritem/action.md)
