TOKYO (MacHouse) – We suddenly came back at the beginning of this month after a short summer break. So far, we’ve released three software titles. And we submitted the 4th software title of the month to Mac App Store several hours ago.
Drawing the background pattern of an NSView or a UIView object with a uniform color is too simple. If you are developing OS X applications, you can use NSGradient. Or create a CGGradient object with the CGGradientCreateWithColorComponents function to realize color gradation for iOS applications. But how do we translate colors and their relative positions that we visually select with the mouse in the graphic user interface into Objective-C code? Gradiest offers a simple solution to creating color gradation maps and then translating corresponding color values and positions into lines of Objective-C code. You have an option of generating a mutable array (NSMutableArray) with color values and positions as dictionary keys (NSMutableDictionary) or generating float arrays that can be easily used with the CGGradientCreateWithColorComponents function to create a CGGradient object for iOS applications.
- Create gradation maps with as many as 50 color stops.
- Save any number of color gradation maps as presets. Let the application automatically load them when you launch the application.
- Rename, duplicate presets.
- Generate two types of Objective-C code. Click on the String array code selection tab to generate a mutable array with color component keys as dictionary objects. Click on the Float array code selection tab to generate float arrays that can be used to create an CGGradient object for iOS applications.
- Customize variable names in Preferences.
- Save Objective-C code in a text file. Send code to the print screen.
- The introduction window gives you a 5-page quick tour over how the application works.
- Languages: English only.
- The application supports the Retina display.
- Application file size: 6.4 MB.
- The application comes with a complete user’s guide written in English. (Choose Help > User’s Guide.)
- 10.7 (tested with 10.7.5), 10.8 (not tested), 10.9 (tested with 10.9.4)
- 64-bit system
- Each color gradation map can hold as many as 50 color stops.
1.0.4 (Released on December 18, 2014)
- When the user clicked on either Default button under the Code tab, the invalid color didn’t turn black back.
- The methods and functions including deprecated APIs are fixed.
- Preferences: The user has an option of starting code selection with String array or Float array.
- A few other minor changes and fixes are done.
Application user’s guide is available (only in English). Click here to access it online.
Click here to download a trial version. This trial version will remain fully functional for 10 days, starting from the very moment you first launch it. Note that there are several typos appearing over the Code tab of the Preferences modal sheet. They’ve been corrected with the full version.
A video tutorial with text commentary is available in the form of a QuickTime movie. Click here. The data size is 99.7 MB, and the movie duration is 9 minutes and 50 seconds. The video dimensions are 1,440 x 900 pts.
Gradiest is a product of MacHouse.
Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. Mac App Store is a service mark of Apple Inc.