UIColor
Undocumented
-
Extension to
UIColor
, to return colors from Fiori Design Language paletteReturns
UIColor
Declaration
Swift
public class func preferredFioriColor(forStyle style: FUIColorStyle) -> UIColor
Parameters
style
Style
enum from Fiori Design Language paletteReturn Value
UIColor
-
UIColor
value for default UIKit tint colorReturns
UIColor
equal toUIView().tintColor
Declaration
Swift
public static let appleDefaultTint: UIColor =
Return Value
UIColor
equal toUIView().tintColor
-
Check to see if it is the default Apple tint color
Returns
true if yes; otherwise, falseDeclaration
Swift
public func isAppleDefaultTint() -> Bool
Return Value
true if yes; otherwise, false
-
Check to see if the given color is the same
Parameter
Parameter other: A given color to compare with
Returns
true if yes; otherwise, false
Declaration
Swift
public func equals(_ other: UIColor) -> Bool
Parameters
other
A given color to compare with
Return Value
true if yes; otherwise, false