• 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: How to set the string and integer value of an NSButtonCell using NSOutilneView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set the string and integer value of an NSButtonCell using NSOutilneView


  • Subject: Re: How to set the string and integer value of an NSButtonCell using NSOutilneView
  • From: Graham Cox <email@hidden>
  • Date: Tue, 28 Jul 2009 16:12:15 +1000


On 28/07/2009, at 7:17 AM, Korei Klein wrote:

Also, how do I determine the index of the column which is the second argument of outlineView:objectValueForTableColumn:byItem.


[[theOutlineView tableColumns] indexOfObject:theTableColumn];

You need to be wary of using the index though - it isn't fixed as the user can drag columns, so it's better whenever possible to use the table column object itself. It should have anything you want to know about the column.

--Graham


_______________________________________________

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


References: 
 >How to set the string and integer value of an NSButtonCell using NSOutilneView (From: Korei Klein <email@hidden>)

  • Prev by Date: Re: Dictionary with enum keys?
  • Next by Date: Re: memory allocation different in simulator and on the iPhone
  • Previous by thread: Re: How to set the string and integer value of an NSButtonCell using NSOutilneView
  • Next by thread: NSXMLDocument and schema validation (Not finding schema document?)
  • Index(es):
    • Date
    • Thread