Re: Getting data from NSOutlineView
Re: Getting data from NSOutlineView
- Subject: Re: Getting data from NSOutlineView
- From: goessly <email@hidden>
- Date: Tue, 13 Dec 2005 11:46:59 +0100
I'm looking for a way to access the values displayed in an
NSOutlineViews cells programmatically.
... in order to retrieve data from this view I've attempted the
following:
[outlineViewDelegate
objectValueForTableColumn: [outlineViewDelegate
tableColumnWithIdentifier:@"titel"]
byItem: currentItem
];
with:
id currentItem = [outlineViewDelegate itemAtRow: itemCounter];
First of all, the compiler throws the following warning:
AppController.mm:302: warning: 'NSOutlineView' may not respond to '-
objectValueForTableColumn:byItem:'
Strange enough, since NSOutlineView inherits this from NSTableView,
doesn't it?
At runtime I get is this error message:
-[NSOutlineView objectValueForTableColumn:byItem:]: selector not
recognized [self = 0x317410]
Any idea what's wrong? The outlineview is showing some core data
managed objects, which I (seemingly) can't access directly, so I need
to get the values from this Outlineview...
Thanks in advance;
regards;
goessly
_______________________________________________
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