Skip to content

target and proposed destination path #1

@gamemasta0

Description

@gamemasta0

I love what you have done so far, but I have a tableview that has sections and rows that I do not want a cell to move to. To solve this problem in the normal implementation of a UITableView move I would implement: - (NSIndexPath *)tableView:(UITableView *)tableView targetIndexPathForMoveFromRowAtIndexPath:(NSIndexPath *)sourceIndexPath toProposedIndexPath:(NSIndexPath *)proposedDestinationIndexPath;
There doesn't seem to be any way to rule out index paths in your current implementation and I tried looking to see where I would do it but a lot of your code is beyond my experience with objective-c. Any pointers as to how I would implement this? Or perhaps you could implement it. But until then, unfortunately, I cannot use this beautiful implementation of moving rows.

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