• 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: NSTableView using Square Button for image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView using Square Button for image


  • Subject: Re: NSTableView using Square Button for image
  • From: Kevin Hoctor <email@hidden>
  • Date: Sun, 10 Sep 2006 00:26:38 -0500


On Sep 9, 2006, at 9:23 PM, Andrew Merenbach wrote:

1. Set your table column, in Interface Builder, to have a data cell type of NSImageCell.
2. Bind the "value" of the table column to the boolean value of your data source.
3. Set the "value" binding's value transformer in Interface Builder to the name of an instance of the following:



That worked perfectly Andrew! Thanks. I learned more about Cocoa Transformers as well (http://www.cocoalab.com/cocoalab/wiki/doku.php? id=labnotes:cocoa:value_transformers helped with the app controller changes).


Peace,
Kevin
http://kevinhoctor.blogspot.com/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSTableView using Square Button for image (From: Kevin Hoctor <email@hidden>)
 >Re: NSTableView using Square Button for image (From: Andrew Merenbach <email@hidden>)

  • Prev by Date: Re: Master-Detail interfaces, Multiple Documents, and floating windows
  • Next by Date: Re: QTRecorder Sample Code
  • Previous by thread: Re: NSTableView using Square Button for image
  • Next by thread: FolderItem equivalent?
  • Index(es):
    • Date
    • Thread