Search code examples
cocoasplit-button

How to implement the split button in Xcode 4.3?


I want to implement the buttons in my Mac app like the split button on Xcode's menubar. How to do that?

Thanks in advance!

enter image description here


Solution

  • The class you're looking for is NSSegmentedControl. Read up about it in the official docs.