GYGradientView is a simple to use view that uses the new IBDesignable and IBInspectable features of Xcode to easily configure a view to have a Gradient. You can pick the colors an angle of the gradient.
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.
Once you have your Swift package set up, adding GYGradientView as a dependency is as easy as adding it to the dependencies value of your Package.swift.
GYGradientView
GYGradientView is a simple to use view that uses the new IBDesignable and IBInspectable features of Xcode to easily configure a view to have a Gradient. You can pick the colors an angle of the gradient.
Features
Requeriments
Installation
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.
Once you have your Swift package set up, adding GYGradientView as a dependency is as easy as adding it to the dependencies value of your Package.swift.
Swift 4:
Manually:
If you prefer not to use any of the aforementioned dependency managers, you can integrate GYGradientView into your project manually.
Add GYGradientView.swift to your project And that’s it!
Authors
Guillermo Cique - Initial work
Yhondri J. Acosta Novas
License
GYGradientView is released under the MIT license. See LICENSE for details.