• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSOutlineView, NSBrowserCell and Images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: NSOutlineView, NSBrowserCell and Images
      • From: Brian Bergstrand <email@hidden>
References: 
 >Re: NSOutlineView, NSBrowserCell and Images (From: John Randolph <email@hidden>)

  • Prev by Date: Re: How far with accessors?
  • Next by Date: Re: Changing the desktop picture
  • Previous by thread: Re: NSOutlineView, NSBrowserCell and Images
  • Next by thread: Re: NSOutlineView, NSBrowserCell and Images
  • Index(es):
    • Date
    • Thread