The NSBrowser​Cell 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 NSBrowser​Cell objects.)


The NSBrowser​Cell class implements the user interface of NSBrowser.


Getting Browser Cell Information

class func branch​Image()

Returns the default image for branch cells in a browser.

class func highlighted​Branch​Image()

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

Configuring Browser Cells

var image:​ NSImage?

The browser cell’s image.

var alternate​Image:​ 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 is​Leaf:​ Bool

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

var is​Loaded:​ Bool

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

func highlight​Color(in:​ NSView)

Returns the highlight color that the receiver wants to display.


Inherits From