The Sidebar Icon image name in OSX

可紊 提交于 2019-12-10 13:16:05

问题


Is this icon included as part of the Cocoa API? What is the icon name?

I read the HIG but could not find a reference - https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/OSXHIGuidelines/SystemProvided.html#//apple_ref/doc/uid/20000957-CH92-SW1


回答1:


It's undocumented. The image's name is NSImageNameSidebarTemplate. (NSSidebarTemplate in IB, though it's only visible at runtime).

I don't know though if this is off-limits and whether it will get you rejected.




回答2:


Can't see anything that would match in the constants specified in NSImage - i.e. it's not any of the images listed in Image Template Constants, View Type Template Images, etc. - so I doubt it's generally available to apps..



来源:https://stackoverflow.com/questions/32943220/the-sidebar-icon-image-name-in-osx

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