Visual guide of AppKit controls?

岁酱吖の 提交于 2020-01-13 18:12:08

问题


Is there a visual guide to the controls in Mac OS/X AppKit?

Take, for instance, the following control that appears at different places in XCode UI:

I don't know which AppKit control is that. Any ideas?


回答1:


It looks like a series of NSRadioButton views in an NSMatrix. You can determine the former using Accessibility Inspector, which will tell you that these buttons are of the accessibility class AXRadioButton. You can determine the latter using f-script. (You'll need the new 10.7 injection workflow that isn't in 2.1 yet.)



来源:https://stackoverflow.com/questions/8419660/visual-guide-of-appkit-controls

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!