Pastel alternatives and similar libraries
Based on the "Animation" category.
Alternatively, view Pastel alternatives based on common mentions on social networks and blogs.
-
AnimatedCollectionViewLayout
A UICollectionViewLayout subclass that adds custom transitions/animations to the UICollectionView without effecting your existing code. -
AlertTransition
AlertTransition is a extensible library for making view controller transitions, especially for alert transitions. -
SPPerspective
Widgets iOS 14 animation with 3D and dynamic shadow. Customisable transform and duration. -
AKVideoImageView
UIImageView subclass that allows you to display a looped video and dynamically switch it. -
Wobbly
(Animate CSS) animations for iOS. An easy to use library of iOS animations. As easy to use as an easy thing. -
Disintegrate
Disintegration animation inspired by THAT thing Thanos did at the end of Avengers: Infinity War. -
VariousViewsEffects
Various view's effects for iOS, written in Swift. Allows you to animate views nicely with easy to use extensions. Currently supported animations: Glass Break, Explode, Snowflakes. Every animation is randomized.
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 Pastel or a related project?
README
Pastel
๐จ Gradient animation effect like Instagram
[pastel_01.gif](README/Pastel_01.gif) [pastel_02.gif](README/Pastel_02.gif) [pastel_03.gif](README/Pastel_03.gif)
Example
override func viewDidLoad() {
super.viewDidLoad()
let pastelView = PastelView(frame: view.bounds)
// Custom Direction
pastelView.startPastelPoint = .bottomLeft
pastelView.endPastelPoint = .topRight
// Custom Duration
pastelView.animationDuration = 3.0
// Custom Color
pastelView.setColors([UIColor(red: 156/255, green: 39/255, blue: 176/255, alpha: 1.0),
UIColor(red: 255/255, green: 64/255, blue: 129/255, alpha: 1.0),
UIColor(red: 123/255, green: 31/255, blue: 162/255, alpha: 1.0),
UIColor(red: 32/255, green: 76/255, blue: 255/255, alpha: 1.0),
UIColor(red: 32/255, green: 158/255, blue: 255/255, alpha: 1.0),
UIColor(red: 90/255, green: 120/255, blue: 127/255, alpha: 1.0),
UIColor(red: 58/255, green: 255/255, blue: 217/255, alpha: 1.0)])
pastelView.startAnimation()
view.insertSubview(pastelView, at: 0)
}
๐จ Customize Gradient Colors
Designed by Alexander Zaytsev, https://dribbble.com/anwaltzzz
[Gradient.png](README/Gradient.png)
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Pastel is written in Swift 3+. iOS 8.0+ Required
Installation
Pastel is available through CocoaPods or Carthage.
Cocoapods
pod "Pastel"
Carthage
github "cruisediary/Pastel" ~> 0.6.0
Example
- Passcode: A simple Passcode application using RxSwift, ReactorKit, IGListKit with Pastel
Awesome
- awesome-swift - A collaborative list of awesome Swift libraries and resources. Feel free to contribute!
- awesome-gradient - ๐ A curated list of awesome Gradient frameworks, libraries and software and resources
Author
cruz, [email protected]
Thanks
Many thanks to the contributors of this project.
License
Pastel is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the Pastel README section above
are relevant to that project's source code only.