Re: OutlineView data source method
Re: OutlineView data source method
- Subject: Re: OutlineView data source method
- From: Andy Lee <email@hidden>
- Date: Fri, 8 Mar 2002 23:23:44 -0500
At 11:01 PM -0500 3/8/02, Adam Atlas wrote:
>
I'm writing a data source for an NSOutlineView, and I'm a bit confused about the method:
>
>
- (id)outlineView:(NSOutlineView *)outlineView objectValueForTableColumn:(NSTableColumn *)tableColumn byItem:(id)item;
>
>
What, exactly, is passed to this method, and what should be returned?
Where did you find out about this method in the first place? The best place to look, if you haven't already, is the documentation page for NSOutlineViewDataSource, which describes this method as follows:
- - - - -
outlineView:objectValueForTableColumn:byItem:
- (id)outlineView:(NSOutlineView *)outlineView objectValueForTableColumn:(NSTableColumn *)tableColumn byItem:(id)item
Returns the data object associated with the specified item. The item is located in the specified tableColumn of the view.
Implementation of this method is required.
- - - - -
For more general information about outline views, there is a link near the top of this page called "Overview of Programming Topic: Outline Views".
_______________________________________________
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.