Skip navigation.
 
mlRe: Finder/iTunes Sidebar View?
FROM : William Bates
DATE : Mon Jan 14 13:17:30 2008

Mitchell,
I just did an iTunes-like sidebar. Here are some notes I took:

(1)
The basic object is an NSOutlineView

The backround blue color is:
[NSColor colorWithDeviceRed:0.820 green:0.843 blue:0.886 alpha:1.0]
== NSCalibratedRGBColorSpace 0.819608 0.843137 0.886275 1

Row Height 13
Text: [NSFont systemFontOfSize:11]

There is a very subtle embossed text effect created by  a NSTextCell 
subclass that returns NSBackgroundStyleRaised for backgroundStyle and 
interiorBackgroundStyle

(2) For a Finder-like sidebar (only), use
"Source List" selection style in IB, or programmatically set to 
NSTableViewSelectionHighlightStyleSourceList
Note that  the gradient used for the selection effect requires some 
vertical room

Related mailsAuthorDate
mlFinder/iTunes Sidebar View? Mitchell Hashimoto Jan 13, 18:37
mlRe: Finder/iTunes Sidebar View? Joeles Baker Jan 13, 18:46
mlRe: Finder/iTunes Sidebar View? j o a r Jan 13, 18:52
mlRe: Finder/iTunes Sidebar View? I. Savant Jan 13, 18:52
mlRe: Finder/iTunes Sidebar View? Mitchell Hashimoto Jan 13, 20:34
mlRe: Finder/iTunes Sidebar View? Scott Anguish Jan 14, 02:28
mlRe: Finder/iTunes Sidebar View? William Bates Jan 14, 13:17