Latest 2.0.1
Homepage https://github.com/jessesquires/JSQFlatButton
License MIT
Platforms ios 6.0, requires ARC
Frameworks QuartzCore

:warning: Attention! :warning:

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.


Build Status Version Status license MIT

A light-weight, flat design UIButton for iOS.

JSQFlatButton Screenshot

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

From CocoaPods

pod '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.

Latest podspec

{
    "name": "JSQFlatButton",
    "version": "2.0.1",
    "summary": "A light-weight, flat design UIButton for iOS",
    "homepage": "https://github.com/jessesquires/JSQFlatButton",
    "social_media_url": "https://twitter.com/jesse_squires",
    "license": "MIT",
    "authors": "Jesse Squires",
    "source": {
        "git": "https://github.com/jessesquires/JSQFlatButton.git",
        "tag": "2.0.1"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source_files": "JSQFlatButton/Classes/*",
    "frameworks": "QuartzCore",
    "requires_arc": true,
    "deprecated": true
}

Pin It on Pinterest

Share This