Latest 0.1.2
Homepage https://github.com/jonathanhart92/PyroButton
License MIT
Platforms ios 8.0
Authors

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 ([email protected])

License

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

Latest podspec

{
    "name": "PyroButton",
    "version": "0.1.2",
    "summary": "A drop-in subclass of UIButton that provides quick customization options.",
    "description": "PyroButton is a drop-in subclass of UIButton that provides handy customization options inside Interface Builder.nnCurrently, PyroButton supports the following options:n    - Gradient Backgroundn    - Corner Radiusn    - Auto Corner Radius (for rounded button-like appearance)n    - Border Colorn    - Border WidthnnTo use, replace your UIButton class with 'PyroButton' inside Interface Builder.",
    "homepage": "https://github.com/jonathanhart92/PyroButton",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jonathanhart92/PyroButton.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "PyroButton/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This