UIColor

Undocumented

  • Extension to UIColor, to return colors from Fiori Design Language palette

    Returns

    UIColor

    Declaration

    Swift

    public class func preferredFioriColor(forStyle style: FUIColorStyle) -> UIColor

    Parameters

    style

    Style enum from Fiori Design Language palette

    Return Value

    UIColor

  • UIColor value for default UIKit tint color

    Returns

    UIColor equal to UIView().tintColor

    Declaration

    Swift

    public static let appleDefaultTint: UIColor =

    Return Value

    UIColor equal to UIView().tintColor

  • Check to see if it is the default Apple tint color

    Returns

    true if yes; otherwise, false

    Declaration

    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