NSPathcontrol alternative
I am trying to customize an NSPathControl (custom look, menu on items) but after hours passed on it, I cannot achieve what I want. Do you know an alternative control for representing a path?
Thanks i开发者_JAVA百科n advance for your help,
Regards,
You could just line up some custom buttons with graphics that look like the path control.
However, you might want to step back and ask if you really need to customize the control. The standard controls are part of the interface grammar and user are comfortable with them and know what to expect. Making them look different implies to the user that they will behave differently. If the behavior is the same I wouldn't mess with customization to much.
I have coded a NSPathControl subview which can achieve this. Feel free to check it out:
Github
精彩评论