Structure

UITableViewCell.StateMask

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

Declaration

struct StateMask

Overview

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

Topics

Constants

static var showingEditControl: UITableViewCell.StateMask

The state of a table view cell when the table view is in editing mode.

static var showingDeleteConfirmation: UITableViewCell.StateMask

The state of a table view cell that shows a button requesting confirmation of a delete gesture.

Relationships

Conforms To

See Also

Adjusting to State Transitions

func willTransition(to: UITableViewCell.StateMask)

Called to notify the cell that it is about to transition to a new cell state.

func didTransition(to: UITableViewCell.StateMask)

Called to notify the cell that it transitioned to a new cell state.