Those methods return NSInteger's. To get a reference to the
NSTableColumn you should call something like

int column = [[yourTableView selectedColumn] intValue];
NSTableColumn myColumn = [[yourTableView tableColumns] objectAtIndex:column];

Adam

On Mon, Feb 25, 2008 at 3:46 PM, Quincey Morris
<[EMAIL PROTECTED]> wrote:
> Is it safe to assume that the column indexes returned by various
>  NSTableView routines are in fact indexes into [NSTableView
>  tableColumns]? I can't find anything in the documentation that says
>  this.
>  _______________________________________________
>
>  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/agersonl%40gmail.com
>
>  This email sent to [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]

Reply via email to