SwiftGradients 1.0.0

SwiftGradients 1.0.0

Maintained by German Lopez.



SwiftGradients

CI Status Version License Platform Carthage SPM Swift Version

What is it?

SwiftGradients gives you useful extensions for UIViews and CALayer classes to add beautiful color gradients.

Installation

1. Cocoapods

pod 'SwiftGradients', '~> 1.0.0'

2. Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. Add the following line to your Cartfile and follow the installation instructions.

github "rootstrap/SwiftGradients" ~> 1.0.0

3. Swift Package Manager

  • In XCode 11, go to File -> Swift Packages -> Add Package Dependency.
  • Enter the repo URL (https://github.com/rootstrap/SwiftGradients) and click Next.
  • Select the version rule desired (you can specify a version number, branch or commit) and click Next.
  • Finally, select the target where you want to use the framework.

That should be it. SwiftGradients should appear in the navigation panel as a dependency and the framework will be linked automatically to your target.

Note: It is always recommended to lock your external libraries to a specific version.

Usage

Coming Soon :)

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

License

SwiftGradients is available under the MIT license. See the LICENSE file for more info.