PDA

View Full Version : iTunes UI components




Azerix
May 8, 2013, 06:34 AM
Hi,

I am developing an application in Cocoa and i want to use same UI components that iTunes has. On the left side of the itunes it has a view and i ques it uses NSTableView. My question is, is it NSTableView or NSOutlineView?

Becouse of the hierarchy i am no shore of it. NSTableView dose not have hierarchy, but NSOutlineView dose have. And if it's an NSOutlineView how do you reposition the arrow to the right side? I know its possible to set the arrow hidden.



ArtOfWarfare
May 8, 2013, 07:59 AM
In the list of UI components in the OS X interface builder, one of them is called "Source List" which is just a "NSOutlineView suitable for use as a sidebar."

Unless I don't know what you're talking about, that's what I think you're looking for. If I'm mistaken, it might help us better know what you're talking about if you took a screenshot of iTunes and marked the component you're trying to replicate.

Azerix
May 8, 2013, 02:51 PM
You understood my question correctly. The Sidebar is what i was searching for, siderbar with hirarchy. But i think i wil have to use NSTreeController as wel, to get the same results.

Thanks