This repository was archived by the owner on Jun 13, 2021. It is now read-only.
This repository was archived by the owner on Jun 13, 2021. It is now read-only.
Enumeration value 'kCGColorSpaceModelXYZ' not handled in switch #252
Open
Description
Get this error in XCode 11.5:
Enumeration value 'kCGColorSpaceModelXYZ' not handled in switch
You can fix it by adding the missing case at line 936 in UIColor+Chameleon.m as follows:
case kCGColorSpaceModelXYZ:
in order to handle it as one of the Unsupported color models.
(BTW this is great error checking by Swift/XCode.)
Metadata
Metadata
Assignees
Labels
No labels