Indicates whether two colors are equal.
- iOS 2.0+
- macOS 10.3+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The first color to compare.
The second color to compare.
A Boolean value that, if
YES, indicates that the specified colors are equal. If the colors are not equal, the value is
Two colors are equal if they share the same color space and numerically equal color components.
Getting Information about Core Graphics Colors
Returns the value of the alpha component associated with a color.
Returns the values of the color components (including alpha) associated with a color.
Returns the pattern associated with a color in a pattern color space.
Returns the Core Foundation type identifier for a color data type.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software