PXButton
comes with a couple of neat features:
UIAppearance
-based font configuration- An optional gradient behind your button that can look nice or old depending on how you use them
- The ability to display an image and a title with the image on the left or the right of the title
- The ability to inset the image in the button
- some shorthand methods for getting at the layer's border color, border width, and corner radius
To run the example project, clone the repo, and run pod install
from the Example directory first.
PXButton is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "PXButton"
Daniel Blakemore, [email protected]
PXButton is available under the MIT license. See the LICENSE file for more info.