Twinkle alternatives and similar libraries
Based on the "Animation" category.
Alternatively, view Twinkle alternatives based on common mentions on social networks and blogs.
-
IBAnimatable
Design and prototype 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. -
EasyAnimation
A Swift library to take the power of UIView.animateWithDuration() to a whole new level -
AHDownloadButton
Customizable download button with progress and transition animations. It is based on Apple's App Store download button. -
SamuraiTransition
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
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Twinkle or a related project?
README
Twinkle :sparkles:
Twinkle
is a Swift and easy way to make any UIView in your iOS or tvOS app twinkle.
This library creates several CAEmitterLayers and animates them generating a sparkle effect.
A version of Twinkle is also available for Android.
If you like Twinkle, you may also like Burst.
Need a different version of Swift?
5.0
- Target your Podfile to the latest release or master4.2
- Target your Podfile to theswift4.2
branch
Quick Start
Twinkle
is available and recommended for installation using the Cocoa dependency manager CocoaPods. You can also simply copy the Twinkle.swift
file into your Xcode project.
# CocoaPods
pod "Twinkle", "~> 0.5.0"
# Carthage
github "piemonte/Twinkle" ~> 0.5.0
# SwiftPM
let package = Package(
dependencies: [
.Package(url: "https://github.com/piemonte/Twinkle", majorVersion: 0)
]
)
Usage
The sample project provides an example of how to integrate Twinkle
, otherwise you can follow this example.
import Twinkle
// using the UIView extension
let view: UIView = UIView(frame: CGRect(x: 0, y: 0, width: 150, height: 50))
self.view.addSubview(view)
view.twinkle()
// using the class func
Twinkle.twinkle(myView)
Community
- Found a bug? Open an issue.
- Feature idea? Open an issue.
- Want to contribute? Submit a pull request.
Resources
- Core Animation Reference Collection
- Swift Evolution
- CAEmitterLayer – NSHipster
- Twinkle for Android
- Burst
- Shimmer
- Blurry
License
Twinkle is available under the MIT license, see the LICENSE file for more information.
*Note that all licence references and agreements mentioned in the Twinkle README section above
are relevant to that project's source code only.