Skip to content
A drop-in subclass of UIButton that provides quick customization options.
Shell Swift Ruby Objective-C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
PyroButton
Screenshots
.gitignore
.gitignore_BACKUP_18837
.gitignore_BASE_18837
.gitignore_LOCAL_18837
.gitignore_REMOTE_18837
.travis.yml
LICENSE
PyroButton.podspec
README.md
_Pods.xcodeproj

README.md

PyroButton

Version License Platform

A drop-in subclass of UIButton that provides quick customization options in Interface Builder.

PyroButton provides the following options:

  • Two color gradient background
  • Gradient start and end points
  • Border color
  • Border thickness
  • Corner radius
  • Auto corner radius based on width/height of the button

To use, set the Custom Class property on a UIButton to PyroButton.

PyroButton in the Example App Interface Builder options

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

PyroButton is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "PyroButton"

Author

Jonathan Hart (jonathan.hart92@gmail.com)

License

PyroButton is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.