Skip to content

Foreverland/UIButton-ANDYHighlighted

Repository files navigation

UIButton-ANDYHighlighted

CI Status Version License Platform

Usage

#import "UIButton+ANDYHighlighted.h"
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
[button setBackgroundColor:[UIColor redColor]];
[button setHighlightedBackgroundColor:[UIColor grayColor]];
[button setTitleColor:[UIColor whiteColor]];
[button setHighlightedTitleColor:[UIColor redColor]];

Installation

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

pod 'UIButton-ANDYHighlighted'

Author

Elvis Nuñez, elvisnunez@me.com

License

UIButton-ANDYHighlighted is available under the MIT license. See the LICENSE file for more info.