AFViewShaker is simple as a brick utility for UIView shake animation.
AFViewShaker * viewShaker = [[AFViewShaker alloc] initWithView:self.formView];NSArray * allFields = @[self.emailField, self.passwordField];
AFViewShaker * viewShaker = [[AFViewShaker alloc] initWithViewsArray:allFields];[self.viewShaker shake];[self.viewShaker shakeWithDuration:0.6 completion:^{
NSLog(@"Hello World!");
}];Add the following to your Podfile and run $ pod install
pod "AFViewShaker", "~> 0.0.5"Add the following to your Cartfile and run $ carthage update
github "ArtFeel/AFViewShaker", ~> 0.0.5If you are using Xamarin.iOS, check out this port by Robert Waggott.
