Get Updates By E-mail 

Article Written By:
Johann Dowa

A UITextField Category That Allows You To Create A Customizable Shake Effect

  •  
  •  
  •  
  •  
  •  

Late last year I mentioned an extensive library allowing you to implement many different animation effects on iOS UI elements without code.

Here’s an add-on category for UITextField called Shake from Andrea Mazzini that adds a customizable shake animation similar to that on the Mac OS X login screen.

You can easily customize how big the shake effect is, the speed of the shaking motion, and the total number of shakes.

Here’s an animated image from the readme showing UITextField+Shake in action:
UITextField+Shake

You can find UITextField+Shake on Github here.

A nice way to provide the user with feedback when they’ve made an incorrect entry.


  •  
  •  
  •  
  •  
  •  

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