CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

NBHighlightButton 1.0.1

NBHighlightButton 1.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Josh Justice.



  • By
  • Josh Justice

Allows changing the background color of the button when highlighted (i.e. touch down)

Demo

The demo/ folder contains a demo project showing NBHighlightButton in use. Open and run it.

Usage

Just set the buttonColor and buttonHighlightColor properties.

Compatibility

This class has been tested back to iOS 6.1.

Implementation

This class overrides the setHighlighted: method to set the background color to the highlighted or normal state.

License

This code is released under the MIT License. See the LICENSE file for details.