cocoa - NSTouchBar: How to replace "Esc" with "Done" button -


how addressbook app presenting done instead of esc screenshot?

addressbook touch bar

the documentation states system provided button depends on context. how define context?

found it. need use nspopovertouchbaritem. set not show close button, , add 1 yourself.


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -