• 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
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]

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


  • Subject: How to set the string and integer value of an NSButtonCell using NSOutilneView
  • From: Korei Klein <email@hidden>
  • Date: Mon, 27 Jul 2009 16:17:41 -0500

I'm implementing an NSOutlineViewDataSource object which will be the data source of an NSOutlineView.
The NSOutlineView displays its data in NSButtonCell s.


The value displayed in an NSButtonCell is both an integer, and a string.
The delegate method which I am implementing outlineView:objectValueForTableColumn:byItem, however, allows me to return only one value to the NSOutlineView.


Is it possible for my implementation of outlineView:objectValueForTableColumn:byItem to set both the string value and the integer value of the NSButtonCell?


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


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: How to set the string and integer value of an NSButtonCell using NSOutilneView
      • From: Graham Cox <email@hidden>
    • Re: How to set the string and integer value of an NSButtonCell using NSOutilneView
      • From: Chase Meadors <email@hidden>
  • Prev by Date: NSTableView cell editing begin / end notifications?
  • Next by Date: NSXMLDocument and schema validation (Not finding schema document?)
  • Previous by thread: Re: NSTableView cell editing begin / end notifications?
  • Next by thread: Re: How to set the string and integer value of an NSButtonCell using NSOutilneView
  • Index(es):
    • Date
    • Thread