Skip to content

feature request: willDrag hook #6

@jklundell

Description

@jklundell

It would be a convenience to add a delegate call just before the addDraggableIndicatorsToCell: animation block. Something like

dragTableViewController:willDragCell:forIndexPath:

in order to prepare the cell for the drag animation.

Use case: my table cells are borderless images, and the stock shadow tends not to be visible when the images are dark. So I've replaced the shadow effect with a slight enlargement of the cell, which works well. I need to composite an overlay imageview to do this right. I'd prefer to do the compositing in a willDrag call. (My workaround is to always composite the overlay for all cells, and control it with .hidden, which is of course not animatable, so I can get the effect I want by setting it to NO inside the animation block.)

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