• 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
NSTableView & different columns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView & different columns


  • Subject: NSTableView & different columns
  • From: Sanri Parov <email@hidden>
  • Date: Sat, 2 Jul 2005 18:37:35 +0200

Hi everybody,

I've got an NSTableView with 2 columns: the first is composed by
NSTextCells the second by NSButtonCells.
As far as I don't really understand the difference between

- (id)tableView:(NSTableView *)aTableView
objectValueForTableColumn:(NSTableColumn *)aTableColumn
row:(int)rowIndex

and

- (void)tableView:(NSTableView *)aTableView setObjectValue:anObject
forTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex

I'm stuck with this problem: I can't write TableViews.
What I'm trying to do is: in the first column (NSTextCell) set the
value of rowIndex, while in the second one (NSButtonCell) set the cell
on or off if I encounter certain conditions.
Thanks for every kind help.

--
Sanri Parov
 _______________________________________________
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: NSTableView & different columns
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Core Data, saving XML store is OK, loading is not
  • Next by Date: Re: Flat Button Controls in Tiger
  • Previous by thread: Re: Core Data, saving XML store is OK, loading is not
  • Next by thread: Re: NSTableView & different columns
  • Index(es):
    • Date
    • Thread