- macOS 10.12.1+
- Mac Catalyst 13.0+
The system returns items (instances of the
NSTouch class) as it finds them, according to the following search order, listed here from first-searched to last-searched:
1. Items in the bar’s private array, which are reflected in the value of the
2. Items in the
3. Items returned from the bar delegate’s
Your app never needs to instantiate spacing or proxy items because these are created by the system directly, according to their identifiers, as shown in Table 1.
For more on the proxy placeholder, see NSTouchBar Composition and Nesting.