Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS Component Providing A UIView Subclass That Automatically Bends On Position Changes

  •  
  •  
  •  
  •  
  •  

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 :

AHKBendableView

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments