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 ritght on the
view. This tutorial is built with for iOS8.1 with Xcode 6.1.