Skip to content
Twitter Bootstrap buttons for iOS http://cocoadocs.org/docsets/BButton
Objective-C Ruby
Find file
Pull request Compare This branch is 196 commits ahead, 20 commits behind mattlawer:master.
Latest commit 62a30cc @jessesquires Update README.md
update badges

README.md

BButton Build Status Version Status license MIT Platform

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 library

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

Something went wrong with that request. Please try again.