Skip to content

feature request: willDrag hook #6

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.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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