Re: NSTableView using Square Button for image
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