Instance Method

setNeedsCellUpdate()

Updates the contents of the placeholder cell.

Required.

Declaration

func setNeedsCellUpdate()

Discussion

Call this method when you want to update the contents of the placeholder cell. When you call this method, UIKit calls the update handler that you originally passed to the drop(_:toPlaceholderInsertedAt:withReuseIdentifier:cellUpdateHandler:) method when creating the cell.

See Also

Updating the Placeholder Cell

func commitInsertion(dataSourceUpdates: (IndexPath) -> Void) -> Bool

Exchanges the placeholder cell for a cell with the final content.

Required.