Gradient Creator allows you to simply generate all the code required for making CAGradient Layers in iOS, OSX and swift.
Input your colors using their #hex value, use the pen drop tool to select your color or simply pick a color from the color picker view.
Change the angle of your gradient with a single click. (start and end points can be set manually by clicking on the gradient or input them manually into the text boxes)
Copy to clip board and past into your project. It couldn’t be easier.
Easily convert your single color #hex code to UIColor, NSColor, CGColor all with 'r g b’ values ready to use
点击按钮跳转至开发者官方下载地址...