Go to file
yhondri 2d2f4d903c
Update README.md
2018-02-04 22:13:35 +01:00
Screenshots Add screenshot 2018-02-04 21:46:42 +01:00
Sources/GYGradientView Publishing Swift Package 2018-02-04 20:58:34 +01:00
Tests Publishing Swift Package 2018-02-04 20:58:34 +01:00
.gitignore Publishing Swift Package 2018-02-04 20:58:34 +01:00
LICENSE Initial commit 2018-02-04 20:48:25 +01:00
Package.swift Publishing Swift Package 2018-02-04 20:58:34 +01:00
README.md Update README.md 2018-02-04 22:13:35 +01:00

README.md

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

  • Angle gradient selection
  • Color of the gradient selection

Requeriments

  • iOS 11.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
  • Xcode 9.0+
  • Swift 4+

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:

dependencies: [
    .package(url: "https://github.com/yhondri/GYGradientView", from: "1.0.0")
]

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.