Re: Table column index
Re: Table column index
- Subject: Re: Table column index
- From: "Adam Gerson" <email@hidden>
- Date: Mon, 25 Feb 2008 17:06:24 -0500
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@hidden> 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@hidden)
>
> 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:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden