Instance Property

contentView

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

Declaration

var contentView: UIView { get }

Discussion

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.