Latest 0.0.5
Homepage https://github.com/ArtFeel/AFViewShaker
License MIT
Platforms ios , requires ARC
Authors

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.

Latest podspec

{
    "name": "AFViewShaker",
    "version": "0.0.5",
    "summary": "AFViewShaker is simple as a brick utility for UIView shake animation.",
    "homepage": "https://github.com/ArtFeel/AFViewShaker",
    "screenshots": "https://raw.githubusercontent.com/ArtFeel/AFViewShaker/master/example.gif",
    "authors": {
        "Philip Vasilchenko": "[email protected]"
    },
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/ArtFeel/AFViewShaker.git",
        "tag": "0.0.5"
    },
    "source_files": "AFViewShaker/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This