Latest 0.2.0
Homepage https://github.com/pixio/PXMaskButton
License MIT
Platforms ios 7.0, requires ARC
Dependencies UIImageUtilities
Frameworks UIKit, QuartzCore
Authors

Version
License
Platform

A button with an image and a title that are masked to allow transparency.

When the button is selected/pressed, you can see through the text/icon which is cut out of a color (or gradient). In the default state the button has an outline and a draws the image and title in color (or gradient).

Usage

Use it like a button. Read the header for more specific info, but you’ll want to set the icon, text, and tintColor properties.

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

Installation

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

pod "PXMaskButton"

Author

Daniel Blakemore, [email protected]

License

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

Latest podspec

{
    "name": "PXMaskButton",
    "version": "0.2.0",
    "summary": "A button with an image and a title that are masked to allow transparency.",
    "description": "When the button is selected/pressed, you can see through the text/icon which is cut out of a color (or gradient). In the default state the button has an outline and a draws the image and title in color (or gradient).",
    "homepage": "https://github.com/pixio/PXMaskButton",
    "license": "MIT",
    "authors": {
        "Daniel Blakemore": "[email protected]"
    },
    "source": {
        "git": "https://github.com/pixio/PXMaskButton.git",
        "tag": "0.2.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "public_header_files": "Pod/Classes/**/*.h",
    "frameworks": [
        "UIKit",
        "QuartzCore"
    ],
    "dependencies": {
        "UIImageUtilities": []
    }
}

Pin It on Pinterest

Share This