Skip navigation.
 
mlRe: Table column index
FROM : Adam Gerson
DATE : Mon Feb 25 23:06:24 2008

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_removed>> 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 (<email_removed>)
>
>  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/<email_removed>
>
>  This email sent to <email_removed>
>

Related mailsAuthorDate
mlTable column index Quincey Morris Feb 25, 21:46
mlRe: Table column index Adam Gerson Feb 25, 23:06
mlRe: Table column index Quincey Morris Feb 25, 23:41
mlRe: Table column index glenn andreas Feb 26, 00:12
mlRe: Table column index Quincey Morris Feb 26, 01:41
mlRe: Table column index Corbin Dunn Feb 26, 18:13