⚠️ Attention! ⚠️
This project is no longer supported or actively developed.
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.
JSQFlatButton
A light-weight, flat design UIButton for iOS.
Features
- 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
Requirements
- iOS 6.0+
- ARC
Installation
CocoaPods
Frompod 'JSQFlatButton'
From source
- Drag the
JSQFlatButton/
folder to your project - Add the
QuartzCore.framework
to your project
Getting Started
See the included demo project: FlatButtonDemo.xcodeproj
Documentation
Documentation is available here via CocoaDocs.
How To Contribute
This project is no longer supported or actively developed.
Please follow these sweet contribution guidelines.
Credits
Created by @jesse_squires
Demo icons by @darranmorris, free from APP-BITS
Apps Using This Control
License
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.