Latest 0.1.0
Homepage https://github.com/swordray/UIButtonSetBackgroundColorForState
License MIT
Platforms ios 7.0
Frameworks UIKit
Authors

Version
License
Platform

Add method setBackgroundColor:forState: to UIButton.

Example

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

Requirements

  • iOS 7 or later

Installation

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

pod "UIButtonSetBackgroundColorForState"

Usage

- (void)setBackgroundColor:(nullable UIColor *)color forState:(UIControlState)state;

Author

Jianqiu Xiao, [email protected]

License

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

Latest podspec

{
    "name": "UIButtonSetBackgroundColorForState",
    "version": "0.1.0",
    "summary": "Add method setBackgroundColor:forState: to UIButton.",
    "homepage": "https://github.com/swordray/UIButtonSetBackgroundColorForState",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Jianqiu Xiao": "[email protected]"
    },
    "source": {
        "git": "https://github.com/swordray/UIButtonSetBackgroundColorForState.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "Pod/Classes/**/*",
    "public_header_files": "Pod/Classes/**/*.h",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This