I'm building a Mac OS X app. I just tried to set a toolbar button to show/hide a toolbar on NSWindow's title bar. But it doesn't do anything for me. Initially I tried to achieve that with the checkbox in the interface builder.
Toolbar button I expected here is below.
I tried the checkbox in the interface builder to get the button like below.
I thought it could be no longer available in the latest El Capitan, then tried it with Xcode 4.6 on Lion but I could not see the button, neither.
I found the following page to explain how to add a button to the title bar on this site.
How to use NSTitlebarAccessoryViewController?
And I could manage to do that by myself. But I'm still wondering if there is a way to use the default button. Any suggestions would be appreciated.

