• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Table column index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread 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

  • Follow-Ups:
    • Re: Table column index
      • From: Quincey Morris <email@hidden>
References: 
 >Table column index (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: How do copy:/past: messages get sent to NSDocument?
  • Next by Date: Re: Layout manager's -rectArrayForCharacterRange:::: returns zero rectangles??
  • Previous by thread: Table column index
  • Next by thread: Re: Table column index
  • Index(es):
    • Date
    • Thread