2

When adding images to an NSButton I have noticed that there is no option for the Xcode style side panel buttons which are found in the top right of Xcode. Whereabouts are these icons stored, and how can I use them for my own buttons?
The button image I am referring to is circled in this image

Sashi
  • 2,659
  • 5
  • 26
  • 38

1 Answers1

2

Welcome to Stackoverflow!

Those images are built into the Xcode bundle and not available for the average developer to copy into their code. Other people have tried to do the same thing as you, and so if you want to create a segmented control in your app's NSToolbar, why not incorporate publicly available graphics, like what you can find in this GitHub repo, specifically these assets that look like this:

Left Pane Right Pane

Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215