Need wiggling effects for your Images , Buttons, Views and etc … ? iWiggle is your solution , This project shows how you can create wiggling effect with remove badge .
work with iWiggle is too easy first of all create an outlet of your Object , for example :
@property (retain, nonatomic) IBOutlet UIImageView *myImage;
This method contains the wiggling animation :
- (CAAnimation*)startAnimation;
Now it’s time to set the animation with our object :
[[myImage layer]addAnimation:[self startAnimation] forKey:@"someKey"];
In order to stop the animation use this code :
[myImage.layer removeAllAnimations];
This project has been tested with iOS 5.+