Re: Outline and Table back to front
Re: Outline and Table back to front
- Subject: Re: Outline and Table back to front
- From: Thomas Davie <email@hidden>
- Date: Mon, 20 Jun 2005 18:48:25 +0100
On Jun 20, 2005, at 6:39 PM, Corbin Dunn wrote: Not all outline views are table views, however, all table views are outline views, therefore outline view should be higher the the hierarchy.
All NSOutlineViews are in fact NSTableViews -- every NSOutlineView supports all of the NSTableView methods, but the reverse is not true, and it doesn't make sense to have a method like "collapseItem" on an NSTableView.
This is an implementation detail - I am arguing that the implementation is wrong... Logically a table view is an outline view restricted to leaf nodes only. collapseItem makes as much sense as it does for a leaf node in an outline view.
Bob |
_______________________________________________
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