Popsicle alternatives and similar libraries
Based on the "Animation" category.
Alternatively, view Popsicle alternatives based on common mentions on social networks and blogs.
-
Pop
An extensible iOS and OS X animation library, useful for physics-based interactions. -
Shimmer
An easy way to add a simple, shimmering effect to any view in an iOS app. -
IBAnimatable
Design and prototype customized UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable. -
Keyframes
A library for converting Adobe AE shape based animations to a data format and play it back on Android and iOS devices. -
JHChainableAnimations
Easy to read and write chainable animations in Objective-C and Swift -
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! -
RZTransitions
A library of custom iOS View Controller Animations and Interactions. -
DKChainableAnimationKit
⭐ Chainable animations in Swift -
CKWaveCollectionViewTransition
Cool wave like transition between two or more UICollectionView -
LSAnimator
⛓ Easy to Read and Write Multi-chain Animations Lib in Objective-C and Swift. -
Awesome-iOS-Animation
Curated list of iOS Animation libraries -
ActivityIndicatorView
A number of preset loading indicators created with SwiftUI -
AnimationEngine
Easily build advanced custom animations on iOS. -
DCAnimationKit
A collection of animations for iOS. Simple, just add water animations. -
ZoomTransitioning
ZoomTransitioning provides a custom transition with image zooming animation and swiping the screen edge. -
FlightAnimator
Advanced Natural Motion Animations, Simple Blocks Based Syntax -
AHKBendableView
UIView subclass that bends its edges when its position changes. -
AHDownloadButton
Customizable download button with progress and transition animations. It is based on Apple's App Store download button. -
MotionMachine
A powerful, elegant, and modular animation library for Swift. -
RippleEffectView
RippleEffectView - A Neat Rippling View Effect -
SamuraiTransition
SamuraiTransition is an open source Swift based library providing a collection of ViewController transitions featuring a number of neat “cutting” animations. -
JRMFloatingAnimation
An Objective-C animation library used to create floating image views. -
CCMRadarView
CCMRadarView uses the IBDesignable tools to make an easy customizable radar view with animation -
ConcentricProgressRingView
Fully customizable circular progress bar written in Swift. -
Walker
Each step you take reveals a new horizon. You have taken the first step today. -
SYBlinkAnimationKit
A blink effect animation framework for iOS, written in Swift. -
ADPuzzleAnimation
Inspired by Fabric - Answers animation. Allows to "build" given view with pieces. Allows to "destroy" given view into pieces -
SMSwipeableTabView
Swipeable Views with Tabs (Like Android SwipeView With Tabs Layout)
Appwrite - The open-source backend cloud platform
* 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 Popsicle or a related project?
README
THIS PROJECT IS NO LONGER MAINTAINED.
Popsicle is a Swift framework for creating and managing interpolations of different value types with built-in UIKit support.
Installation
Carthage
github "DavdRoman/Popsicle"
CocoaPods
pod 'Popsicle'
Manual
Drag and copy all files in the [Popsicle](Popsicle) folder into your project.
At a glance
Interpolating UIView (or any other NSObject) values
First, you need an Interpolator
instance:
let interpolator = Interpolator()
Next, you need to add some Interpolation<T>
instances to your interpolator. In the example below, we are going to interpolate the alpha value of a UIView for times between 0 and 150:
let interpolation = Interpolation(yourView, alpha)
interpolation[0] = 0
interpolation[150] = 1
self.interpolator.addInterpolation(interpolation)
Note alpha
is a built-in KeyPath<T, U>
constant. Popsicle offers a nice set of [UIKit-related KeyPaths](Popsicle/KeyPath.swift) ready to be used. You may also use a completely custom key path.
You can also modify the easing function used at a given time:
interpolation.setEasingFunction(EasingFunctionEaseOutQuad, forTime: 0)
There's a bunch of [built-in easing functions](Popsicle/EasingFunction.swift) to choose from.
Finally, just make your interpolator
vary its time
depending on whatever you want. For example, the content offset of a UITableView
:
func scrollViewDidScroll(scrollView: UIScrollView) {
interpolator.time = Double(scrollView.contentOffset.y)
}
Interpolating custom values
You can declare a value type as interpolable by making it conform to the Interpolable
protocol.
As an example, check out how CGPoint
conforms to Interpolable
:
extension CGSize: Interpolable {
public static func interpolate(from fromValue: CGSize, to toValue: CGSize, withProgress progress: Progress) -> CGSize {
let width = CGFloat.interpolate(from: fromValue.width, to: toValue.width, withProgress: progress)
let height = CGFloat.interpolate(from: fromValue.height, to: toValue.height, withProgress: progress)
return CGSizeMake(width, height)
}
public static func objectify(value: CGSize) -> AnyObject {
return NSValue(CGSize: value)
}
}
License
Popsicle is available under the MIT license.
*Note that all licence references and agreements mentioned in the Popsicle README section above
are relevant to that project's source code only.