AFViewShaker 0.0.5

AFViewShaker 0.0.5

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Nov 2017

Maintained by Philip Vasilchenko.


Downloads

Total456,754
Week0
Month5,302

Installs

Apps2,037
Pod Tries6
Test Targets233
Watch Apps1
powered by Segment

GitHub

Stars1,137
Watchers43
Forks167
Issues0
Contributors4
Pull Requests0

Code

Files2
LOCLines of Code 68



  • By
  • Philip Vasilchenko

AFViewShaker

CocoaPods
Carthage compatible
license

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

Using CocoaPods

Add the following to your Podfile and run $ pod install

pod "AFViewShaker", "~> 0.0.5"

Using Carthage

Add the following to your Cartfile and run $ carthage update

github "ArtFeel/AFViewShaker", ~> 0.0.5

For Xamarin users

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