Created
May 8, 2015 17:34
-
-
Save paulyoung/aa7d6af4213fbf72e454 to your computer and use it in GitHub Desktop.
GoldenGate/UIKit/UIColor.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import JavaScriptCore | |
@objc protocol UIColorJSExport: class, JSExport { | |
// Mark: - Creating a UIColor with Preset Component Values | |
class func blackColor() -> UIColor | |
class func blueColor() -> UIColor | |
class func brownColor() -> UIColor | |
class func clearColor() -> UIColor | |
class func cyanColor() -> UIColor | |
class func darkGrayColor() -> UIColor | |
class func grayColor() -> UIColor | |
class func greenColor() -> UIColor | |
class func lightGrayColor() -> UIColor | |
class func magentaColor() -> UIColor | |
class func orangeColor() -> UIColor | |
class func purpleColor() -> UIColor | |
class func redColor() -> UIColor | |
class func whiteColor() -> UIColor | |
class func yellowColor() -> UIColor | |
} | |
extension UIColor: UIColorJSExport {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment