init(cgColor:)
Creates a color object using the specified Core Graphics color.
Declaration
init?(cgColor: CGColor)Parameters
- cgColor:
The Core Graphics color reference.
Return Value
An NSColor instance.
Discussion
This method may return nil.
Creates a color object using the specified Core Graphics color.
init?(cgColor: CGColor)The Core Graphics color reference.
An NSColor instance.
This method may return nil.