Swift
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
KDGradientView.xcodeproj
KDGradientView
KDGradientViewTests
LICENCE.md
README.md

README.md

GradientViewiOS

This is a companion to the http://karmadust.com/animating-a-gradient-in-a-uiview/

Installation

There is just one file of interest GradientView.swift so include that in the project and link it to a UIView from the Interface Builder or instantiate it in code.

Techniques

The code base uses the CADisplayLink instead of an NSTimer to keep up with screen updates.