Instance Property


The main view to which you add your cell’s custom content.


var contentView: UIView { get }


When configuring a cell, you add any custom views representing your cell’s content to this view. The cell object places the content in this view in front of any background views.

See Also

Accessing the Cell’s Views

var backgroundView: UIView?

The view that is displayed behind the cell’s other content.

var selectedBackgroundView: UIView?

The view that is displayed just above the background view when the cell is selected.