• 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: Rootless, complex NSOutlineView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rootless, complex NSOutlineView?


  • Subject: Re: Rootless, complex NSOutlineView?
  • From: Dylan Adams <email@hidden>
  • Date: Tue, 27 May 2003 12:49:13 -0400

David Wood writes:
> 1. The examples I've seen show NSOutlineView having one root node
> displayed, and several child nodes underneath it which may also have
> children. Is there any way not to display that one root node? In my
> application, that root node is never going to change, and it's enough
> that I know it's there. Or is there a way to display an NSOutlineView
> with "multiple" roots?

Yes. See /Developer/Examples/AppKit/DragNDropOutlineView

> 2. The data I'm trying to display in NSOutlineView is very complex; at
> no level does a child match the type of its parent. Certain types of
> information store other types of information, which serve as parents
> for *other* forms of information, etc. The NSOutlineView seems closest
> to what I'm trying to do, but I wonder if it's good enough.

That doesn't matter. NSOutlineView doesn't expect there to be a
relationship between the data of a parent and its children.

dylan
_______________________________________________
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.

References: 
 >Rootless, complex NSOutlineView? (From: David Wood <email@hidden>)

  • Prev by Date: Re: Rootless, complex NSOutlineView?
  • Next by Date: a key down event problem
  • Previous by thread: Re: Rootless, complex NSOutlineView?
  • Next by thread: Re: Rootless, complex NSOutlineView?
  • Index(es):
    • Date
    • Thread