---
title: set()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsbrowsercell/set()
---

# set()

Highlights the receiver and sets its state.

## Declaration

```swift
func set()
```

## See Also

### Managing Browser Cell State

- [reset()](appkit/nsbrowsercell/reset().md)
- [isLeaf](appkit/nsbrowsercell/isleaf.md)
- [isLoaded](appkit/nsbrowsercell/isloaded.md)
- [highlightColor(in:)](appkit/nsbrowsercell/highlightcolor(in:).md)
