Skip to content

StudistCorporation/BButton

Repository files navigation

BButton Build Status Version Status license MIT

Twitter Bootstrap buttons for iOS

BButton is a subclass of UIButton that is styled like the Twitter Bootstrap buttons, and is drawn entirely with CoreGraphics. Buttons can be styled as Bootstrap version 2 or version 3.

BButton Screenshot 1      BButton Screenshot 2

Requirements

  • iOS 6.0+
  • ARC

Installation

pod 'BButton'

Otherwise, drag the BButton/ folder to your project.

Then add the Fonts provided by application key to Info.plist and include FontAwesome.ttf

plist

Getting Started

See the demo project (BButtonDemo.xcodeproj) and FontAwesome for list of icons.

Documentation

Documentation is available here via CocoaDocs. Thanks @CocoaDocs!

Customization

  • Set corner radius for all buttons via UIAppearance
[[BButton appearance] setButtonCornerRadius:[NSNumber numberWithFloat:0.0f]];

BButton Screenshot 3      BButton Screenshot 4

How To Contribute

Please follow these sweet contribution guidelines.

Credits

Created by @mattlawer (Original project here: @mattlawer / BButton).

Forked, refactored, updated, maintained by @jesse_squires.

Many thanks to the contributors of this project.

Apps Using This Control

License

BButton is released under an MIT License. See LICENSE for details.

Copyright © 2012, Mathieu Bolard, Jesse Squires. All rights reserved.

Font Awesome by Dave Gandy

The Font Awesome font is licensed under the SIL Open Font License

Font Awesome CSS, LESS, and SASS files are licensed under the MIT License

The Font Awesome pictograms are licensed under the CC BY 3.0 License