JRMFloatingAnimation alternatives and similar libraries
Based on the "Animation" category.
Alternatively, view JRMFloatingAnimation alternatives based on common mentions on social networks and blogs.
-
Pop
DISCONTINUED. An extensible iOS and OS X animation library, useful for physics-based interactions. -
IBAnimatable
Design and prototype customized UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable. -
Keyframes
DISCONTINUED. A library for converting Adobe AE shape based animations to a data format and play it back on Android and iOS devices. -
EasyAnimation
A Swift library to take the power of UIView.animateWithDuration(_:, animations:...) to a whole new level - layers, springs, chain-able animations and mixing view and layer animations together! -
ZoomTransitioning
ZoomTransitioning provides a custom transition with image zooming animation and swiping the screen edge. -
AHDownloadButton
Customizable download button with progress and transition animations. It is based on Apple's App Store download button. -
SamuraiTransition
SamuraiTransition is an open source Swift based library providing a collection of ViewController transitions featuring a number of neat “cutting” animations. -
CCMRadarView
CCMRadarView uses the IBDesignable tools to make an easy customizable radar view with animation -
ADPuzzleAnimation
Inspired by Fabric - Answers animation. Allows to "build" given view with pieces. Allows to "destroy" given view into pieces
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of JRMFloatingAnimation or a related project?
README
JRMFloatingAnimation
About
JRMFloatingAnimation is an ObjC library used to create floating image views:
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.
startingPointWidth
- Varies the x of the starting point, with the starting point y being the middle. default is 0.maxAnimationHeight
- The maximum height that the animation may go. Default is the distance from the top of the frame to the starting point y value.minAnimationHeight
- The minimum height that the animation may go. If this is larger than the maxAnimationHeight, they will swap. Default is 1/3 the maxAnimationHeight .animationWidth
- The maximum "width" of the bezier path's control points fro the object's starting point. Changing this may give you unexpected results. Defaults:JRMFloatingShape
: The object's size * 2.JRMFloatingShapeCurveLeft
: The distance between the starting point x and the let edge of the frame.JRMFloatingShapeCurveRight
: The distance between the starting point x and the right edge of the frame.JRMFloatingShapeTriangleUp
: The width of the frame.
pop
: Gives the impression of the images "popping" before they are removed from the view. Default NO.maxFloatObjectSize
: The maximum size a floating object can be. Default is 20.minFloatObjectSize
: The minimum size a floating object can be. If the minFloatObjectSize < maxFloatObjectSize, both sizes become the minFloatObjectSize. Default is 10.floatingShape
: The "shape" that the animation can take. Default is JRMFloatingShapeStraight.JRMFloatingShapeTriangleUp
- Floats up in a cone shape from the starting point.JRMFloatingShapeStraight
- Floats straight up from the starting point.JRMFloatingShapeCurveLeft
- Floats up and curves to the left.JRMFloatingShapeCurveRight
- Floats up and curves to the right.
fadeOut
: If the floating object's alpha should fade out before disappearing from the view. Default NO.varyAlpha
: If the floating object's alpahs should vary (to give a more randomized look). Default NO.animationDuration
: The speed of the animation. Default 2.removeOnCompletion
: If the floating object should be removed from the superview when the animation is finished. Default YES.imageViewAnimationCompleted
: A completion block to call whenever an image view is finished animating. It will return the image view. (See the JRMDemoBalloonViewController.m file for an example.)
Installation
CocoaPods
JRMFloatingAnimation is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "JRMFloatingAnimation"
Manually
- Download and drop
/Pod/Classes
folder in your project. - Congratulations!
Author
Caroline Harrison, [email protected]
License
JRMFloatingAnimation is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the JRMFloatingAnimation README section above
are relevant to that project's source code only.