• 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
Tree Data Structure in objc-C?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tree Data Structure in objc-C?


  • Subject: Tree Data Structure in objc-C?
  • From: David Chan <email@hidden>
  • Date: Mon, 28 Nov 2005 11:57:29 +0800

Dear All,

I was wondering what is the best approach to the following scenario:
I have a library application where I intend to store my books under some
categories. Now I have a NSOutlineView to do that interface wise. But how
should I store the categories? The problem is that user should be allowed to
create as many categories and subcategories as they want, much like the
behavior of folders tree. Also I need to associate each book with a
category, and users should have freedom to change the book's category, just
like the case of moving the file from one folder to another.
Is there something in obj-C that I could use here or do I need to create my
own data structure to support this scenario?
Thanks a lot.

Regards
David
 _______________________________________________
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

  • Follow-Ups:
    • Re: Tree Data Structure in objc-C?
      • From: Chris Hanson <email@hidden>
    • Re: Tree Data Structure in objc-C?
      • From: Scott Stevenson <email@hidden>
    • Re: Tree Data Structure in objc-C?
      • From: Andrei Tchijov <email@hidden>
  • Prev by Date: Re: CFSocket freezes
  • Next by Date: Re: Tree Data Structure in objc-C?
  • Previous by thread: Re: Finding the user's processor type...
  • Next by thread: Re: Tree Data Structure in objc-C?
  • Index(es):
    • Date
    • Thread