<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBrowserCell",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBrowserCell"
  },
  "title" : "NSBrowserCell"
}
-->

# NSBrowserCell

The user interface of a browser.

```
class NSBrowserCell
```

## Overview

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

## Topics

### Getting Browser Cell Information

[`branchImage`](/documentation/AppKit/NSBrowserCell/branchImage)

Returns the default image for branch cells in a browser.

[`highlightedBranchImage`](/documentation/AppKit/NSBrowserCell/highlightedBranchImage)

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

### Configuring Browser Cells

[`image`](/documentation/AppKit/NSBrowserCell/image)

The browser cell’s image.

[`alternateImage`](/documentation/AppKit/NSBrowserCell/alternateImage)

The browser cell’s image for the highlighted state.

### Managing Browser Cell State

[`reset()`](/documentation/AppKit/NSBrowserCell/reset())

Unhighlights the receiver and unsets its state.

[`set()`](/documentation/AppKit/NSBrowserCell/set())

Highlights the receiver and sets its state.

[`isLeaf`](/documentation/AppKit/NSBrowserCell/isLeaf)

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

[`isLoaded`](/documentation/AppKit/NSBrowserCell/isLoaded)

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

[`highlightColor(in:)`](/documentation/AppKit/NSBrowserCell/highlightColor(in:))

Returns the highlight color that the receiver wants to display.

### Initializers

[`init(coder:)`](/documentation/AppKit/NSBrowserCell/init(coder:))

[`init(imageCell:)`](/documentation/AppKit/NSBrowserCell/init(imageCell:))

[`init(textCell:)`](/documentation/AppKit/NSBrowserCell/init(textCell:))



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)