Draw Gradients with Core Graphics Tutorial
Core Graphics is a very powerful low-level API. In this tutorial we will
create gradients with the help of Core Graphics. For simplicity sake, we'll
use linear gradients. Linear gradients start from one point and color to
another point and color. The gradient will move from left to right on the
view. This tutorial is made with Xcode 8 and built for iOS 10.