---
title: UITableViewCell.StateMask
framework: uikit
role: symbol
role_heading: Structure
path: uikit/uitableviewcell/statemask
---

# UITableViewCell.StateMask

Constants used to determine the new state of a cell as it transitions between states.

## Declaration

```swift
struct StateMask
```

## Overview

Overview The methods that use these constants are didTransition(to:) and willTransition(to:).

## Topics

### Constants

- [showingEditControl](uikit/uitableviewcell/statemask/showingeditcontrol.md)
- [showingDeleteConfirmation](uikit/uitableviewcell/statemask/showingdeleteconfirmation.md)

### Initializers

- [init(rawValue:)](uikit/uitableviewcell/statemask/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Adjusting to state transitions

- [willTransition(to:)](uikit/uitableviewcell/willtransition(to:).md)
- [didTransition(to:)](uikit/uitableviewcell/didtransition(to:).md)
