Re: NSTableView & different columns
Re: NSTableView & different columns
- Subject: Re: NSTableView & different columns
- From: Sanri Parov <email@hidden>
- Date: Sun, 3 Jul 2005 23:52:55 +0200
On Sat, 2 Jul 2005 16:58:57 -0700, mmalcolm crawford wrote:
> It's up to you what you return in ... objectValueForTableColumn ...
>
> - (id) tableView: (NSTableView *) tableView
> objectValueForTableColumn: (NSTableColumn *) tableColumn
> row: (int) rowIndex
> {
>
> if ([[tableColumn identifier] isEqualToString:@"rowNumber"])
> {
> return [NSNumber numberWithInt:rowIndex];
> }
>
> // implementation continues...
I've already tried to do this.
The app crashes with a SIGBUS 10 :-((
--
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