• 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: Getting data from NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Getting data from NSOutlineView
      • From: Bill Bumgarner <email@hidden>
    • Re: Getting data from NSOutlineView
      • From: Alastair Houghton <email@hidden>
    • Re: Getting data from NSOutlineView
      • From: Alex Fischer <email@hidden>
References: 
 >Getting data from NSOutlineView (From: goessly <email@hidden>)

  • Prev by Date: Best way to use CoreImage in a flipped view
  • Next by Date: Re: Getting data from NSOutlineView
  • Previous by thread: Getting data from NSOutlineView
  • Next by thread: Re: Getting data from NSOutlineView
  • Index(es):
    • Date
    • Thread