Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maximbilan/swifttintedbuttonextension
A small Swift extension for tinting UIButton, like a UIBarButtonItem or a UINavigationItem
https://github.com/maximbilan/swifttintedbuttonextension
ios swift swift-extensions tinted ui ui-components ui-design uibutton uikit
Last synced: about 2 months ago
JSON representation
A small Swift extension for tinting UIButton, like a UIBarButtonItem or a UINavigationItem
- Host: GitHub
- URL: https://github.com/maximbilan/swifttintedbuttonextension
- Owner: maximbilan
- License: mit
- Created: 2015-04-28T12:42:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-21T13:10:26.000Z (over 6 years ago)
- Last Synced: 2024-10-31T16:06:44.329Z (about 2 months ago)
- Topics: ios, swift, swift-extensions, tinted, ui, ui-components, ui-design, uibutton, uikit
- Language: Swift
- Homepage:
- Size: 134 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Swift Tinted Button Extension
[![Version](https://img.shields.io/cocoapods/v/SwiftTintedButtonExtension.svg?style=flat)](http://cocoadocs.org/docsets/SwiftTintedButtonExtension)
[![License](https://img.shields.io/cocoapods/l/SwiftTintedButtonExtension.svg?style=flat)](http://cocoadocs.org/docsets/SwiftTintedButtonExtension)
[![Platform](https://img.shields.io/cocoapods/p/SwiftTintedButtonExtension.svg?style=flat)](http://cocoadocs.org/docsets/SwiftTintedButtonExtension)
[![CocoaPods](https://img.shields.io/cocoapods/dt/SwiftTintedButtonExtension.svg)](https://cocoapods.org/pods/SwiftTintedButtonExtension)
[![CocoaPods](https://img.shields.io/cocoapods/dm/SwiftTintedButtonExtension.svg)](https://cocoapods.org/pods/SwiftTintedButtonExtension)A small Swift extension for tinting UIButton, like a UIBarButtonItem or a UINavigationItem.
Based on this.![alt tag](https://raw.github.com/maximbilan/SwiftTintedButtonExtension/master/img/4.png)
## 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.