Interface UITableViewDropPlaceholderContext

    • Method Detail

      • commitInsertionWithDataSourceUpdates

        boolean commitInsertionWithDataSourceUpdates​(UITableViewDropPlaceholderContext.Block_commitInsertionWithDataSourceUpdates dataSourceUpdates)
        Exchange the placeholder for the final cell. You are only responsible for updating your data source inside the block using the provided insertionIndexPath. If the placeholder is no longer available (e.g. -reloadData has been called) the dataSourceUpdates block will not be executed and this will return NO.
      • deletePlaceholder

        boolean deletePlaceholder()
        If the placeholder is no longer needed or you wish to manually insert a cell for the drop data, you can remove the placeholder via this method. If the placeholder is no longer available (e.g. -reloadData has been called) this will return NO.
      • dragItem

        UIDragItem dragItem()
        The drag item this placeholder was created for.