Skip to content

dmsherazi/AFViewShaker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AFViewShaker

About

AFViewShaker is simple as a brick utility for UIView shake animation.

Using

Create shaker for one view
AFViewShaker * viewShaker = [[AFViewShaker alloc] initWithView:self.formView];
Create shaker for multiple views
NSArray * allFields = @[self.emailField, self.passwordField];
AFViewShaker * viewShaker = [[AFViewShaker alloc] initWithViewsArray:allFields];
Shake with default parameters
[self.viewShaker shake];
Shake with additional parameters
[self.viewShaker shakeWithDuration:0.6 completion:^{
    NSLog(@"Hello World!");
}];

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like AFViewShaker in your projects.

Podfile
pod "AFViewShaker", "~> 0.0.2"

For Xamarin users

If you are using Xamarin.iOS, check out this port by Robert Waggott.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 89.3%
  • Ruby 10.7%