This library was useful for iOS 6, but iOS 7 and 8 have pretty much rendered it obsolete. (And who's still writing apps for iOS 6?)
You can now easily configure a plain UIButton
to achieve these visuals.
A light-weight, flat design UIButton for iOS.
- Custom normal, highlighted, and disabled background colors
- Custom normal, highlighted, and disabled foreground colors
- Custom normal, highlighted, and disabled border colors
- Corner radius
- Masks images on iOS 6
- iOS 6.0+
- ARC
From CocoaPods
pod 'JSQFlatButton'
- Drag the
JSQFlatButton/
folder to your project - Add the
QuartzCore.framework
to your project
See the included demo project: FlatButtonDemo.xcodeproj
Documentation is available here via CocoaDocs.
This project is no longer supported or actively developed.
Please follow these sweet contribution guidelines.
Created by @jesse_squires
Demo icons by @darranmorris, free from APP-BITS
See App-Bits License and App-Bits README for details on icon usage.
JSQFlatButton
is released under an MIT License. See LICENSE
for details.
Copyright © 2015 Jesse Squires.
Please provide attribution, it is greatly appreciated.