title: iOS icon jiggle algorithm
body: <p>I am writing an iPad app that presents user documents similar to the way Pages presents them (as large icons of the actual document).  I also want to mimic the jiggling behavior when the user taps the edit button.  This is the same jiggle pattern that icons make on the home screen when you tap and hold on them on both the iPhone and iPad.  </p>
  
  <p>I've searched the Internet and have found a few algorithms but they just cause the view to rock back and forth which is not at all like the Apple jiggle.  It seems there is some randomness in there as each icon jiggles a little differently. </p>
  
  <p>Does anyone have or know of some code that can re-create the same jiggle pattern (or something very close to it)?  Thanks!!!</p>