Latest 0.4.1
Homepage https://github.com/maximbilan/SwiftTintedButtonExtension
License MIT
Platforms ios 8.0, requires ARC
Authors

Swift Tinted Button Extension

Version
License
Platform
CocoaPods
CocoaPods

A small Swift extension for tinting UIButton, like a UIBarButtonItem or a UINavigationItem.
Based on this.

alt tag

Installation

CocoaPods:

pod 'SwiftTintedButtonExtension'

Manual:

Copy SwiftTintedButtonExtension.swift to your project.

Using

self.button.setImageTintColor(UIColor.yellowColor(), state: .Normal)
self.button.setImageTintColor(UIColor.blueColor(), state: .Highlighted)

License

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

Latest podspec

{
    "name": "SwiftTintedButtonExtension",
    "version": "0.4.1",
    "summary": "Swift Tinted Button Extension",
    "description": "Swift Tinted Button Extension. UIButton becomes like a UIBarButtonItem or a UINavigationItem.",
    "homepage": "https://github.com/maximbilan/SwiftTintedButtonExtension",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "Maxim Bilan": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/maximbilan/SwiftTintedButtonExtension.git",
        "tag": "0.4.1"
    },
    "source_files": [
        "Classes",
        "SwiftTintedButtonExtension/Sources/**/*.{swift}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This