• 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
Advice needed: outline view with different rows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Advice needed: outline view with different rows?


  • Subject: Advice needed: outline view with different rows?
  • From: Thomas Lachand-Robert <email@hidden>
  • Date: Fri, 6 May 2005 22:02:07 +0200

Hi all,

I would like to implement an interface object very similar to NSOutlineView, except that the rows are different from each others: some are editable text fields, some are images, some are static text with a disclosure showing children cells.

If I understand well the documentation, NSOutlineView only handles identical cells (for each column that is, but I would have only one column). However, it is now possible (in Tiger) to have rows of different heights, which is a very good thing. So I wonder if there is a trick to still achieve my goal with an outline view. Do you think it is possible to code a specialized subclass of NSCell, which would act like an NSTextFieldCell sometimes, or like an NSImageCell otherwise (depending on its content)? If so, how is it possible to use bindings for such a custon cell class? Any better solution?

Thanks a lot,

Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet à la chose. >> Molière, Tartuffe.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: CoreData issue when updating a file format
  • Next by Date: Re: Binding on an NSTextField
  • Previous by thread: Re: NSArray usage question.
  • Next by thread: Re: Advice needed: outline view with different rows?
  • Index(es):
    • Date
    • Thread