On Fri, May 23, 2008 at 4:03 PM, john darnell <[EMAIL PROTECTED]> wrote: > - (id) directoryTable: (NSTableView *) aTableView > objectValueForTableColumn:(NSTableColumn *) aTableColumn row: (int) > rowIndex > { > NSLog(@"Row index is %d", rowIndex); > > NSString *file = [arrayOfFiles objectAtIndex:rowIndex]; > return [file self]; > }
You're not using the proper method name. You need to implement - (id)tableView: objectValueForTableColum: row: The name of your table has nothing to do with anything. The first argument will contain a pointer to the table that is currently asking for an object value; you can use that pointer to determine (if you have multiple tables) which table to provide data for. -- - David T. Wilson [EMAIL PROTECTED] _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]