Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

targetIndexPathForMoveFromRowAt is not getting called #3

Open
testproject1234 opened this issue Jan 3, 2019 · 0 comments
Open

targetIndexPathForMoveFromRowAt is not getting called #3

testproject1234 opened this issue Jan 3, 2019 · 0 comments

Comments

@testproject1234
Copy link

func tableView(_ tableView: UITableView, targetIndexPathForMoveFromRowAt sourceIndexPath: IndexPath, toProposedIndexPath proposedDestinationIndexPath: IndexPath) -> IndexPath {
    if sourceIndexPath != proposedDestinationIndexPath {
        return sourceIndexPath
    }
    return proposedDestinationIndexPath
}

I want to avoid reorder the section of rows to new section. But this delegate is not getting called

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant