UIColor
public extension UIColor
A UIColor’s extension that provides random colors.
-
Undocumented
Declaration
Swift
@objc class func PBRandomDarkColor() -> UIColor?
-
Undocumented
Declaration
Swift
@objc class func PBRandomLightColor() -> UIColor?
-
Undocumented
Declaration
Swift
@objc class func PBRandomExtraLightColor() -> UIColor?
-
Undocumented
Declaration
Swift
@objc class func PBRandomColor() -> UIColor
-
Undocumented
Declaration
Swift
@objc class func PBRandomAdaptiveColor() -> UIColor
-
Undocumented
Declaration
Swift
@objc class func PBRandomAdaptiveInvertedColor() -> UIColor
-
Undocumented
Declaration
Swift
convenience init(hex: String, alpha: CGFloat = 1.0)
-
Undocumented
Declaration
Swift
convenience init(color: UIColor, alpha: CGFloat = 1.0)
-
Undocumented
Declaration
Swift
func lighterColor(value: CGFloat) -> UIColor
-
Undocumented
Declaration
Swift
func darkerColor(value: CGFloat) -> UIColor