Latest 0.1.3
Homepage https://github.com/pixio/PXButton
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors

Version
License
Platform

PXButton example project screenshot

Usage

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.

Installation

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

pod "PXButton"

Author

Daniel Blakemore, [email protected]

License

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

Latest podspec

{
    "name": "PXButton",
    "version": "0.1.3",
    "summary": "A button with a configurably aligned icon",
    "description": "A button with an optional image you can put in the left, the right, and right in the middle.",
    "homepage": "https://github.com/pixio/PXButton",
    "license": "MIT",
    "authors": {
        "Daniel Blakemore": "[email protected]"
    },
    "source": {
        "git": "https://github.com/pixio/PXButton.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "PXButton": [
            "Pod/Assets/*.png"
        ]
    },
    "public_header_files": "Pod/Classes/**/*.h",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This