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.
To run the example project, clone the repo, and run
pod install from the Example directory first.
PyroButton is available through CocoaPods. To install it, simply add the following line to your Podfile:
Jonathan Hart (firstname.lastname@example.org)
PyroButton is available under the MIT license. See the LICENSE file for more info.