Skip to content

SimulateEdit to delete requires cell to be in edit mode #10

@Richard-Gist

Description

@Richard-Gist

tableView?.simulateEdit(.delete, rowAt: expectedIndexPath) seems to require the tableview and cell to be in editing mode.

When performing a swipe to delete, I did not have to explicitly enter edit mode to accomplish that. Similarly, Catalyst does not require edit to move a cell.

It would be nice if we could simulate the delete gesture without having to force the table view into edit mode.

My current workaround:

tableView?.dataSource?.tableView?(tableView!, commit: .delete, forRowAt: expectedIndexPath)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions