问题
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