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.
This image from the readme shows this bending animation effect in action :

You can find AHKBendableView on Github here.
You can read more about the techniques for re-creating the bending effect seen in the Skype app and creating this component over on the Holko blog in two parts: Part1, Part 2.
A nice effect and guide.
- Example: Recreating The Twitter App Startup Transition In Swift With Core Animation
- UIView Subclass Backed By CAShapeLayer That Makes Creating Custom Shapes And Animations Easier
- iOS Library With An Easy Unified API For Child View, Modal View, And Navigation Transitions
- Library Providing An Easy Way To Apply Animations To A UIView With Custom Easing Functions
- iOS Component Providing A Smooth Video Scrubber That Can Be Placed In A UIView
Original article: Open Source iOS Component Providing A UIView Subclass That Automatically Bends On Position Changes
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




