Home

Awesome

JRMFloatingAnimation

[![CI Status](http://img.shields.io/travis/Caroline Harrison/JRMFloatingAnimation.svg?style=flat)](https://travis-ci.org/Caroline Harrison/JRMFloatingAnimation) Version License Platform

About

JRMFloatingAnimation is an ObjC library used to create floating image views:

Bubbles Sax

Balloons Tractor

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

To create the animation view:

self.floatingView = [[JRMFloatingAnimationView alloc] initWithStartingPoint:self.view.center];
[self.floatingView addImage:[UIImage imageName:@"myImage"]];
[self.view addSubview:self.floatingView];

To animate the view:

[self.floatingView animate];

You can add as many images to your view as you want, and they will be used randomly. Note that the images should be square.

There are a variety of different settings you can add to your animation view.

Installation

CocoaPods

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

pod "JRMFloatingAnimation"

Manually

  1. Download and drop /Pod/Classesfolder in your project.
  2. Congratulations!

Author

Caroline Harrison, caroline@jackrabbitmobile.com

License

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