Re: Outline and Table back to front
Re: Outline and Table back to front
- Subject: Re: Outline and Table back to front
- From: SA Dev <email@hidden>
- Date: Mon, 20 Jun 2005 15:15:41 -0400
Nope. A table is a table - a flat (as in single-row) list of
fields. An outline view is a hierarchical view. These are
conceptually two different things and have been for a very long time.
Therefore, they are two separate classes with two separate ways of
handling data. Granted, they have similarities (columns, cells,
etc.), but they are most assuredly different.
The same is true of an NSArray and an NSDictionary. Overlapping
functions and purposes (they're both containers, for example, and
they both contain a group of objects), but *significantly* different
purposes. Therefore, it's inappropriate to make one a subclass of the
other.
On Jun 20, 2005, at 2:55 PM, Thomas Davie wrote:
Okay, two different ways of looking at it... I can see why it is
the way round it is... But an alternative way of looking at it is
that a table view *can* collapse collumns, it just never has branch
nodes added to it.
Thus a table is a specialized outline.
_______________________________________________
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