Class

UITableViewPlaceholder

An object that contains information about a placeholder cell being inserted into a table.

Declaration

class UITableViewPlaceholder : NSObject

Overview

During a drop operation, create a UITableViewDropPlaceholder object (instead of this one) to insert placeholders into your table.

Topics

Creating a Placeholder Cell

init(insertionIndexPath: IndexPath, reuseIdentifier: String, rowHeight: CGFloat)

Creates a placeholder object with the specified index path and cell-related information.

Updating the Cell's Content

var cellUpdateHandler: ((UITableViewCell) -> Void)?

The block that updates the contents of the placeholder cell.

Relationships

Inherits From

Conforms To

See Also

Placeholder Cells

protocol UITableViewDropPlaceholderContext

An object for tracking a placeholder cell that you added to your table during a drop operation.

class UITableViewDropPlaceholder

A placeholder cell that supports customizing the drop preview parameters.