A UIView that shows a linear gradient. Can be used in InterfaceBuilder.

##Usage
-
Import
GradientView.swiftinto you project. -
Place a UIView in the InterfacBuilder and assign its class to
GradientView. -
There is no step three.
If you prefer writing you interface in code, don't be afraid to do so since the GradientView also works fine using GradientView(frame: CGRect)
##Customization
Of course, you can adjust the colors of the gradient.
In addition to that, feel free to experiment with startX, startY, endX and endY to specify parameters of the gradient.
##Related## Please also take a look at my other projects, like TTITransition. Also check out my app TourTime, the app that measures the time you need to get from one location to another without draining your battery.
In addition to that, I am writing my (little) blog here.