Re: NSTableView tableColumn empty?
Re: NSTableView tableColumn empty?
- Subject: Re: NSTableView tableColumn empty?
- From: Tony Cate <email@hidden>
- Date: Thu, 23 Jun 2005 21:50:49 -0500
'identifier' is not the column name, it's a separate attribute you
can set in IB's inspector.
On Jun 23, 2005, at 8:55 PM, Mark Dawson wrote:
I've added an NSTableView in IB, with 2 columns. I've typed in
column titles (and they show up). However, I think I misunderstand
how to use -tableView:tableViewobjectValueForTableColumn: row: What
I'm trying to do is figure out which column I'm being called to to
return objects for (one column will be radio buttons, the other
text). However, the code that I've seen to figure out what the
column is doesn't work for me:
- (id)tableView:(NSTableView *)tableView
objectValueForTableColumn:(NSTableColumn *)tableColumn
row:(int)row
{
NSString *columnName = [tableColumn identifier];
_______________________________________________
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