shouldDrawColor()
Returns a Boolean value indicating whether the view is being drawn to an environment that supports color.
Declaration
func shouldDrawColor() -> BoolReturn Value
true if the view’s window supports color drawing or false if it does not.
Discussion
A view object can base its drawing behavior on the return value of this method to improve its appearance in grayscale windows. This method might return false when the view’s window does not store color information because the content is destined for a grayscale printer.