Instance Property

image

The browser cell’s image.

Declaration

var image: NSImage? { get set }

Discussion

The image is drawn vertically centered on the left edge of the browser cell.

Note that the image is drawn at the given size of the image. NSBrowserCell does not set the size of the image, nor does it clip the drawing of the image. Make sure this image is the correct size for drawing in the browser cell.

When the value of this property is nil, it removes the image for the browser cell.

See Also

Configuring Browser Cells

var alternateImage: NSImage?

The browser cell’s image for the highlighted state.