• 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
Accessing NSTableView cell information
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing NSTableView cell information


  • Subject: Accessing NSTableView cell information
  • From: Peter Browne <email@hidden>
  • Date: Thu, 26 May 2005 21:15:57 +0100

I'm sorry if this has been covered before, but I've tried looking for the answer and I'm still stumped. I have a fairly simple application with a bindings based NSTableView and I want to find out how to get at the contents of a given cell.
Looking at the docs suggests to me something along the lines of


- (int) numberOfRowsInTableView: (NSTableView *) tableView

and

- (id) tableView: (NSTableView *) tableView
objectValueForTableColumn: (NSTableColumn *) tableColumn
row: (int) row
but I'm not entirely sure HOW exactly this helps, or even if this is what to use. If anyone could give me the low down on how to actually use these (or suggest an alternative) I'd be extremely grateful!


Peter

_______________________________________________
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: Accessing NSTableView cell information
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Saving via NSCoder/dataRepresentationOfType without the '...typedstream...' prefixes
  • Next by Date: Re: Accessing NSTableView cell information
  • Previous by thread: Saving via NSCoder/dataRepresentationOfType without the '...typedstream...' prefixes
  • Next by thread: Re: Accessing NSTableView cell information
  • Index(es):
    • Date
    • Thread