Latest 2.0.0
Homepage https://github.com/DragonCherry/SwiftARGB
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

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


let whiteColor = UIColor(rgbHex: 0xFFFFFF)

let whiteColor = UIColor(argbHex: 0xFFFFFFFF)

let whiteColor = UIColor(red: 0xFF, green: 0xFF, blue: 0xFF)

let whiteColor = UIColor(alpha: 0xFF, red: 0xFF, green: 0xFF, blue: 0xFF)

let rgbString = whiteColor.RGBString    // "FFFFFF"

let argbString = whiteColor.ARGBString  // "FFFFFFFF"

Requirements

Installation

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

pod "SwiftARGB"

Author

DragonCherry, [email protected]

License

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

Latest podspec

{
    "name": "SwiftARGB",
    "version": "2.0.0",
    "summary": "ARGB-related utility extensions.",
    "description": "Supports both image and color utilities support ARGB format.",
    "homepage": "https://github.com/DragonCherry/SwiftARGB",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "DragonCherry": "[email protected]"
    },
    "source": {
        "git": "https://github.com/DragonCherry/SwiftARGB.git",
        "tag": "2.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SwiftARGB/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This