Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIColorBreakForOutOfRangeColorComponents #74

Open
4 tasks done
mredig opened this issue Apr 19, 2019 · 0 comments
Open
4 tasks done

UIColorBreakForOutOfRangeColorComponents #74

mredig opened this issue Apr 19, 2019 · 0 comments

Comments

@mredig
Copy link

mredig commented Apr 19, 2019

While using this library, I occasionally (roughly half the time I run the exact same procedure in my app) get an error in the console reading UIColor created with component values far outside the expected range. Set a breakpoint on UIColorBreakForOutOfRangeColorComponents to debug. This message will only be logged once. I've followed the directions by setting a breakpoint and could find nothing there and confirmed that my own code has no time where I create a UIColor with a value more than 1.0.

Additionally, I found this StackOverflow answer indicating that I'm not the only one experiencing this.

I don't think it's a big deal at all as it's not causing a crash, but I thought I'd at least raise awareness of it.

New Issue Checklist

Issue Description

I get inconsistent warnings regarding UIColorBreakForOutOfRangeColorComponents - I will run the exact same code multiple times and only have it happen sometimes.

Environment

  • iOS Version: 12.2
  • Device(s): Simulator 5s and real iPhone 6s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant