Instance Property

textLabel

Returns the label used for the main textual content of the table cell.

Declaration

var textLabel: UILabel? { get }

Discussion

Holds the main label of the cell. UITableViewCell adds an appropriate label when you create the cell in a given cell style. See UITableViewCell.CellStyle for descriptions of the main label in currently defined cell styles.

See Also

Managing the Predefined Content

var detailTextLabel: UILabel?

Returns the secondary label of the table cell if one exists.

var imageView: UIImageView?

Returns the image view of the table cell.