Re: Apple, Are You Listening
Re: Apple, Are You Listening
- Subject: Re: Apple, Are You Listening
- From: Bruno Blondeau <email@hidden>
- Date: Wed, 2 Jun 2004 00:58:17 +0200
On 1 juin 04, at 22:51, email@hidden wrote:
- table view
They are working to make this easier, using:
[...]
What about outline views?
I have never really tried to use them, but it seems I have to have an
object hierarchy, where I would prefer something more like a query
mechanism.
Something similar to:
- (id)tableView:(NSTableView*)table
objectValueForTableColumn:(NSTableColumn*)col
row:(int)rowIndex
Maybe :
- (id)outlineView:(NSOutlieView*)table
objectValueForTableColumn:(NSTableColumn*)col
rowHiearchy:(NSArray*)rowHierarchy
Where rowHierarchy would be an array of NSNumber
For example, to retrieve this
1
2
2.1
2.2
2.3
2.3.1
2.3.2 <=====
3
3.1
3.2
4
The array would contain {2, 3, 2}
Is it possible to do this simply?
Maybe someone wrote a wrapper class which is working like this?
I would need this kind of thing to access big databases easily.
--
Bruno
_______________________________________________
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.