UIColor
extension UIColor
-
Undocumented
Declaration
Swift
public convenience init(hexString hex: String)
-
Extension to
UIColor
, to return colors from Fiori Design Language paletteDeclaration
Swift
public class func preferredFioriColor(forStyle style: FUIColorStyle) -> UIColor
Parameters
style
Style
enum from Fiori Design Language paletteReturn Value
UIColor
-
Extension to
UIColor
, to return colors from Fiori Design Language palette.Declaration
Swift
public class func preferredFioriColor(forStyle style: FUIColorStyle, background scheme: FUIBackgroundColorScheme? = nil, interface level: FUIInterfaceLevel? = nil, display mode: FUIColorDisplayMode? = nil) -> UIColor
Parameters
style
Style
enum from Fiori Design Language palettescheme
specifies whether the color should be used in front of a light background, or a dark background. E.g. a “white” background is a “light” background. A “dark blue” background is a “dark” background. Defaults to
light
.Return Value
UIColor
-
UIColor
value for default UIKit tint colorDeclaration
Swift
public static let appleDefaultTint: UIColor
Return Value
UIColor
equal toUIView().tintColor
-
Check to see if it is the default Apple tint color
Declaration
Swift
public func isAppleDefaultTint() -> Bool
Return Value
true if yes; otherwise, false
-
Check to see if the given color is the same
Declaration
Swift
public func equals(_ other: UIColor) -> Bool
Parameters
other
A given color to compare with
Return Value
true if yes; otherwise, false
-
Undocumented
Declaration
Swift
static var greenSea: UIColor
-
Undocumented
Declaration
Swift
static var turquoise: UIColor
-
Undocumented
Declaration
Swift
static var emerald: UIColor
-
Undocumented
Declaration
Swift
static var peterRiver: UIColor
-
Undocumented
Declaration
Swift
static var amethyst: UIColor
-
Undocumented
Declaration
Swift
static var wetAsphalt: UIColor
-
Undocumented
Declaration
Swift
static var nephritis: UIColor
-
Undocumented
Declaration
Swift
static var belizeHole: UIColor
-
Undocumented
Declaration
Swift
static var wisteria: UIColor
-
Undocumented
Declaration
Swift
static var midnightBlue: UIColor
-
Undocumented
Declaration
Swift
static var sunFlower: UIColor
-
Undocumented
Declaration
Swift
static var carrot: UIColor
-
Undocumented
Declaration
Swift
static var alizarin: UIColor
-
Undocumented
Declaration
Swift
static var clouds: UIColor
-
Undocumented
Declaration
Swift
static var darkClouds: UIColor
-
Undocumented
Declaration
Swift
static var concrete: UIColor
-
Undocumented
Declaration
Swift
static var flatOrange: UIColor
-
Undocumented
Declaration
Swift
static var pumpkin: UIColor
-
Undocumented
Declaration
Swift
static var pomegranate: UIColor
-
Undocumented
Declaration
Swift
static var silver: UIColor
-
Undocumented
Declaration
Swift
static var asbestos: UIColor
-
Undocumented
Declaration
Swift
static var skeletonDefault: UIColor { get }
-
Undocumented
Declaration
Swift
var complementaryColor: UIColor { get }
-
Undocumented
Declaration
Swift
var lighter: UIColor { get }
-
Undocumented
Declaration
Swift
var darker: UIColor { get }