• 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: Outline data sources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Outline data sources


  • Subject: Re: Outline data sources
  • From: Andy Lee <email@hidden>
  • Date: Sun, 14 Apr 2002 12:47:12 -0400

At 12:21 PM -0400 4/14/02, Mike O'Connor wrote:
I think I've figured out how to use and structure a data source for a table,
but now I want to do it for an outline. A linear array of items works well
as a model for a data source in a table, but what are good ways of modeling
a data source for an outline?

Any type of tree-like data structure is a good candidate. Trees are a basic data structures topic, not specific to Cocoa, so you might want to read up on the subject. The computer section at the bookstore often includes titles like "Data Structures in <some_language>," where <some_language> is usually C, C++, or Java, so if you know any of those languages, such a book might not be a waste of money (or you can always browse the sections you care about for free in the bookstore...). I believe pointers to code for Objective-C data structures have also been posted to this list.

I don't see many discussions of outlines, are
there any good docs/examples around?

There are the Apple examples in /Developer/Examples/AppKit. The two that use NSOutlineView are DragNDropOutlineView and OutlineView.

It shouldn't be hard to find examples on the Web. The usual suspects include:

<http://www.stepwise.com/>
<http://www.cocoadevcentral.com/>
<http://www.cocoadev.com/>

Of course, another good source of info is to search the archives for this mailing list.

--Andy
_______________________________________________
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: 
 >Outline data sources (From: "Mike O'Connor" <email@hidden>)

  • Prev by Date: Re: Address Book FrameWork
  • Next by Date: Re: Address Book FrameWork
  • Previous by thread: Outline data sources
  • Next by thread: Re: Outline data sources
  • Index(es):
    • Date
    • Thread