A fairly significant feature in Seasonality Pro is the ability to edit the gradients used to show weather data on a map. When looking around for some sample open source gradient editors online, I didn’t come across anything I could really use. So I decided to write my own and offer it under an MIT license. I posted the source code (link below) on GitHub. Here’s what it looks like:
I’ve included a lot of documentation as well as a sample Xcode project to show how to use it over on the GitHub page:
I looked at quite a few different graphics apps when working on the UI. I wanted to see not only how other implementations looked, but how they worked. With iOS 7 being more gesture-centric, I wanted to make sure that interaction with GSGradientEditor was intuitive. I found the Inkpad app most helpful during this process. In the end, I like how GSGradientEditor turned out.