You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 thesourceColor
, which triggers a crash inHSVFromUIColor
.It seems to be that
HSVFromUIColor
cannot handle a nil color. Perhaps add a check for ifcolor
is nil.The text was updated successfully, but these errors were encountered: