Instance Property

imageView

Returns the image view of the table cell.

Declaration

var imageView: UIImageView? { get }

Discussion

Returns the image view (UIImageView object) of the table view, which initially has no image set. If an image is set, it appears on the left side of the cell, before any label. UITableViewCell creates the image-view object when you create the cell.

See Also

Managing the Predefined Content

var textLabel: UILabel?

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

var detailTextLabel: UILabel?

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