Why did my images in my NSTableView disappear?

For starters, there is NSArrayController("Servers"), the contents of which are an array of "server" objects.

I also have NSTableViewa column. The column is tied to the Location Device property.

I use custom NSValueConverterto make this status into an image for the column dataCellthat is NSImageCell.

I do not understand why the images displayed in the column are correct, but disappear sequentially. Just for verification, I have the same image outside the table view for comparison, and it draws great. Colors in images are not translucent.

Does the NSImageCellimage cast as faded? Is there something I can configure in IB that will make them fully saturated?

+5
source share
2 answers

From Jim Correia to Cocoa -Dev:

"In 10.6, NSImageView will display its content as darkened when the control is disabled.

Your binding includes Conditionally Enabled.

+11
source

You may have a property of an image cell or a column with the value "NO" turned on (or not checked in IB). I believe this reduces the displayed image.

+1
source

All Articles