Skip to content

Crash in HSVFromUIColor: when color is nil #5

@neoneye

Description

@neoneye

I'm trying to integrate the iPad example into my own code. My view controller has a nil background color. When invoking -changeColor, it sets the sourceColor, which triggers a crash in HSVFromUIColor.

It seems to be that HSVFromUIColor cannot handle a nil color. Perhaps add a check for if color is nil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions