Cool, glassy iOS buttons with only one color to set.
Objective-C Ruby
Latest commit 81777eb May 22, 2013 @jessmartin Merge pull request #12 from mattconnolly/master
Adding podspec file


CoolButtons is a subclass of UIButton that draws glassy iOS style buttons, all using CoreGraphics and no images.

Button Comparison


Add the QuartzCore.framework to your project:

# It should be around here somewhere

Add the CoolButton.m/.h to your project, create an instance of a CoolButton, then set the buttonColor like so.

[myCoolButton setButtonColor:[UIColor blueColor]];

CoolButton takes care of the rest and draws appropriately shaded drop shadows, gradient, inner shadow, and borders.


  • Fix the border to be an inner glow for more accuracy to the Apple buttons
  • Add additional button customization to turn on/off the various design elements


Copyright (c) 2011 Jess Martin. See LICENSE for details.