Skip to content

tableView(_:canEditRowAtIndexPath:) returns true by default #39

@serluca

Description

@serluca

The UITableView dataSource implementation of the method tableView(_:canEditRowAtIndexPath:) is returning true by default.
This can cause unexpected behaviour when using RxDataSource, an example is the Customization using table view delegate in the Example app that shows the delete button when sliding the cell from the right to the left.

According with the documentation the default value should be:

Return Value
true if the row indicated by indexPath is editable; otherwise, false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions