目录
目录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.

关于
142.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号