Skip to content
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
@mepster

Description

@mepster

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions