init(colorSyncProfile:)
Initializes and returns a color space object from the specified ColorSync profile.
Declaration
init?(colorSyncProfile prof: UnsafeMutableRawPointer)Parameters
- prof:
The ColorSync profile to use when initializing the
NSColorSpaceobject. This should be an object of opaque type CMProfileRef. See Colorsync_manager for further information on CMProfileRef.
Return Value
The initialized NSColorSpace object or nil if initialization was not successful.