Re: NSOutlineView, NSBrowserCell and Images
Re: NSOutlineView, NSBrowserCell and Images
- Subject: Re: NSOutlineView, NSBrowserCell and Images
- From: Chris Ridd <email@hidden>
- Date: Wed, 26 May 2004 21:14:08 +0100
On 26/5/04 8:04 pm, John Randolph <email@hidden> wrote:
>
Brian,
>
>
NSOutlineView, like NSTableView, has exactly one cell per column, which
>
is re-used to draw each row. Why did you choose NSBrowserCell for
>
this?
>
>
-jcr
It seems like a good choice for an outline view where each item can contain
an icon next to a label. I've successfully used it (to display entries from
an LDAP directory) and the only trick was that you unsurprisingly *must* set
the cell's image every time. Brian seems to have noticed that too, judging
from his posted code.
Brian, are you sure your delegate's method is being called?
Cheers,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.