PXMaskButton 0.2.0

PXMaskButton 0.2.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Sep 2016

Maintained by Daniel Blakemore.



  • By
  • Daniel Blakemore

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.