Re: Tree Data Structure in objc-C?
Re: Tree Data Structure in objc-C?
- Subject: Re: Tree Data Structure in objc-C?
- From: David Chan <email@hidden>
- Date: Mon, 28 Nov 2005 13:59:05 +0800
Yup Andrei,
The users are supposed to be able to include as many books as they want to.
So I should consider a case where they have a huge number of books. I was
thinking of NSDictionary too but does it has any problem when it comes to
huge number of data?
On 11/28/05, Andrei Tchijov <email@hidden> wrote:
>
> What is wrong with dictionary of dictionaries (NSDictionary/
> NSMutableDictionary)? Unless you are planing to have really huge
> number of books in your system, you should be fine. If you are
> planing to store huge number of books, than you should look into Core
> Data.
>
> On Nov 27, 2005, at 10:57 PM, David Chan wrote:
>
> > 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
>
>
_______________________________________________
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