Latest 0.3.2
Homepage https://github.com/keithito/SimpleAnimation
License MIT
Platforms ios 8.0, tvos 9.0
Frameworks UIKit
Authors

CI Status
Version
License
Platform
Carthage compatible

SimpleAnimation is a UIView extension that makes adding basic animations, like fades and bounces, simple…

view.bounceIn(from: .left)

…with sensible defaults…

view.popIn()

…while remaining customizable

view.shake(toward: .top, amount: 0.5, duration: 2, delay: 0.5)

SimpleAnimation is written in Swift 3, but older versions can be used with Swift 2.

Installation

CocoaPods

SimpleAnimation is available through CocoaPods. To install
it, add the following to your Podfile:

pod "SimpleAnimation"

Carthage

SimpleAnimation is available through Carthage. To install
it, add the following to your Cartfile:

github "keithito/SimpleAnimation"

Supported Animations

The following animations are supported so far:

  • fadeIn
  • fadeOut
  • fadeColor
  • slideIn
  • slideOut
  • bounceIn
  • bounceOut
  • popIn
  • popOut
  • hop
  • shake

Please see the example ViewController for more usage examples.
To build the example in XCode, open Example/Example.xcodeproj.

License

SimpleAnimation is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SimpleAnimation",
    "version": "0.3.2",
    "summary": "A UIView extension to make basic animations, like fades and bounces, simple.",
    "homepage": "https://github.com/keithito/SimpleAnimation",
    "license": "MIT",
    "authors": {
        "Keith Ito": "[email protected]"
    },
    "source": {
        "git": "https://github.com/keithito/SimpleAnimation.git",
        "tag": "0.3.2"
    },
    "social_media_url": "https://twitter.com/keeeto",
    "platforms": {
        "ios": "8.0",
        "tvos": "9.0"
    },
    "source_files": "Source/*",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This