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

Related Posts
AnimatedBottomBar
A customizable and easy to use bottom bar view with sleek animations