Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Enumeration value 'kCGColorSpaceModelXYZ' not handled in switch #252

Open
mepster opened this issue Jul 11, 2020 · 0 comments
Open

Enumeration value 'kCGColorSpaceModelXYZ' not handled in switch #252

mepster opened this issue Jul 11, 2020 · 0 comments

Comments

@mepster
Copy link

mepster commented Jul 11, 2020

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.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant