The NSBrowserCell class is the subclass of NSCell used by default to display data in the columns of an NSBrowser object. (Each column contains an NSMatrix filled with NSBrowserCell objects.)


The NSBrowserCell class implements the user interface of NSBrowser.


Getting Browser Cell Information

class func branchImage()

Returns the default image for branch cells in a browser.

class func highlightedBranchImage()

Returns the default image for branch browser cells that are highlighted.

Configuring Browser Cells

var image: NSImage?

The browser cell’s image.

var alternateImage: NSImage?

The browser cell’s image for the highlighted state.

Managing Browser Cell State

func reset()

Unhighlights the receiver and unsets its state.

func set()

Highlights the receiver and sets its state.

var isLeaf: Bool

A Boolean that indicates whether the browser cell is a leaf or a branch cell.

var isLoaded: Bool

A Boolean that indicates whether the cell is ready to display.

func highlightColor(in: NSView)

Returns the highlight color that the receiver wants to display.


Inherits From

Conforms To