Create A UI in NSOutlineView is the way to display hierarchical data that can be expanded and collapsed, such as directories and files in a file system.
B is made by Gradient buttons set images to gradient buttons to get B UI
or
Use NSToolBar to use formal ui design.