NSOutlineView and valueForKey:identifier
NSOutlineView and valueForKey:identifier
- Subject: NSOutlineView and valueForKey:identifier
- From: Rob In der Maur <email@hidden>
- Date: Fri, 17 May 2002 17:11:27 +0200
Can I use the smart coding as explained in Aaron Hillegass book on
table's datasource also for outline views. I mean the
return [person valueForKey:identifier]
trick....
Above this line the pointer to a person object is created like
Person *person = [employees objectAtIndex:rowIndex]
however the objectValueForTableColumn equivalent for NSOutlineView has
not a rowIndex as one of its argument; its signature is like
- (id)outlineView:(NSOutlineView *)ov
objectValueForTableColumn:(NSTableColumn *)tableColumn
byItem:(id)item
So how do I this same kind of trick for NSOutlineView.
cheers,
o#?
Rob In der Maur
_______________________________________________
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.