Chris,    Wich NSTableView can expand its items? ;-) (I'm referring to the
iTunes Playlists item).
    That NSOutlineView simply hides the disclosure triangle, so that
probably confused you.
    If you want to hide the disclosure triangles (wich every expandible item
has by dfault), you need to subclass
NSOutlineView and override the - (NSRect)frameOfOutlineCellAtRow:(NSInteger
)row method; you may want to return NSZeroRect when you don't want the
disclosure triangle to be shown.

--Luca C.

2009/3/20 Chris Purcell <haroldthehun...@mac.com>

> I'm trying to create a view similar to the left iTunes bar (
> http://i39.tinypic.com/2hwp7w5.png) and many other apps (Mail, iCal,
> etc.).  Is this a NSScrollView or NSOutlineView?  Or am I going about this
> the wrong way.
>
> Thanks,
>
> --Chris
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> http://lists.apple.com/mailman/options/cocoa-dev/luca.pazzerello%40gmail.com
>
> This email sent to luca.pazzere...@gmail.com
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to