The views in GSGradientEditor are only available for iOS.  OS X support might come at a later point in time.
Added support for OS X.
Need to ifdef out the entire class on OS X.
Just converted a few lines to modern Objective-C literals.