A couple of months ago I mentioned an interesting library allowing you to easily create animated mesh transform effects on a view which among other effects allowed you to create some interesting bending effects.
Here’s an interesting UIView subclass created in Swift that automatically creates a neat bending animation whenever it’s position changes called AHKBendableView by Arkadiusz Holko inspired by the bending corners effect seen when displaying/removing the action sheet in the Skype app.
AHKbendableView allows you to specify the spring velocity and damping so you can control the springiness of the effect, and the direction of the animation changes automatically based on the position change.
You can find AHKBendableView on Github here.
A nice effect and guide.