Author
Description
BendableView
is a UIView
subclass that bends its edges when its position change is animated. Internally, BendableView
contains CAShapeLayer
, which acts as its background. The layer's path
changes during animations, creating an effect of bending. Subviews stay intact.