• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OutlineView data source method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >OutlineView data source method (From: Adam Atlas <email@hidden>)

  • Prev by Date: OutlineView data source method
  • Next by Date: Re: MT vs. Marshmallow
  • Previous by thread: OutlineView data source method
  • Next by thread: Re: OutlineView data source method
  • Index(es):
    • Date
    • Thread