Coder Social home page Coder Social logo

bbutton's Introduction

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

bbutton's People

Contributors

jessesquires avatar leberwurstsaft avatar lucasiturbide avatar mattlawer avatar figbug avatar bitdeli-chef avatar cyberbum avatar kbessiere avatar

Watchers

Patrick Sullivan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.