Skip to content

BButton is a subclass of UIButton that looks like the bootstrap buttons.

License

Notifications You must be signed in to change notification settings

katzlbt/iOSBootstrapButtonDemo

 
 

Repository files navigation

#iOS-BootstrapButton-Demo

This project once was a fork of mattlawers BButton, but the extracted, separate subproject is much better to integrate with existing projects. The codebase was reworked to be usable without coding, almost exclusively with Xcode5. NEW: BRadioButtons to replace Apple's beasty SegmentedControl! This is XCode5 Project Demo Wrapper for iOS-BootstrapButton, which is included as subproject. The subproject architecture prevents importing Xcode and screenshot resources to your target project. No mess, I guess.

BButton is a subclass of UIButton that looks like the Twitter Bootstrap 2.3.1 buttons.

#Adding BootstrapButton to your project

git submodule add git@github.com:katzlbt/iOSBootstrapButton.git BootstrapButton

Then assign the BButton class to your custom buttons in storyboard. Optionally assign a "color" to the button in the storyboard with key-value coding. NO CODE NEEDED! XCode5 will ask you "Share working copy?" Answer: NO (not sure what this means though)

#Using BootstrapButton in your project

In InterfaceBuilder change the class-name of your Button from UIButton to BButton. That's it.

About

BButton is a subclass of UIButton that looks like the bootstrap buttons.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%