Gradients alternatives and similar libraries
Based on the "Colors" category.
Alternatively, view Gradients alternatives based on common mentions on social networks and blogs.
-
Chameleon
DISCONTINUED. Color framework for Swift & Objective-C (Gradient colors, hexcode support, colors from images & more). -
SwiftGen-Colors
The Swift code generator for your assets, storyboards, Localizable.strings, β¦ β Get rid of all String-based APIs! -
PrettyColors
Styles and colors text in the Terminal with ANSI escape codes. Conforms to ECMA Standard 48. -
HexColor
Utility that lets you define UIColors in Swift as they've meant to be defined: as HEX values -
ImagePalette
Swift/iOS port of Android's Palette https://developer.android.com/reference/android/support/v7/graphics/Palette.html -
Colors
A pure Swift library for using ANSI codes. Basically makes command-line coloring and styling very easy! -
Colors Extension
Colors is a Swift Package to enable all system colors in SwiftUI trough a Color extension. Colors which were previously only available in UIColor/NSColor are now available in Color as well.
InfluxDB - Purpose built for real-time analytics at any 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 Gradients or a related project?
README
Gradients
π A curated collection of 180 splendid gradients made in swift
[logo](README/gradients.png)
180 splendid Gradients inspired by itmeo/webgradients View all the gradients here Β»
ππΌ Easy To Use
view.layer.addSubLayer(Gradients.deepBlue.layer)
180+ Gradients
public enum Gradients: Int, CaseIterable {
case warmFlame = 1
case nightFade
case springWarmth
case juicyPeach
//...
case fabledSunset
case perfectBlue
}
Direction
public enum Direction {
case top
case left
case right
case bottom
case degree(CGFloat)
}
π¨ Customize
[customize](README/custom.png)
// degree for radian direction supported
let customLayer = Gradients.linear(to: .degree(-225), colors: [0x231557, 0x44107A, 0xFF1361, 0xFFF800], locations: [0.0, 0.29, 0.67, 1.0]) // Fabled Sunset
view.layer.addSubLayer(customLayer)
Examples
Requirements
Gradients is written in Xcode 10, Swift 4+, iOS 9.0+ Required
π² Installation
Gradients is available through Cocoapods or Carthage
Cocoapods
pod "Gradients"
Carthage
github "cruisediary/Gradients" ~> 0.3.0
β€οΈ Contribution
Pull requests are always welcomed ππΌ
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]
π‘ License
Gradients is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the Gradients README section above
are relevant to that project's source code only.