Magnetic
Magnetic copied to clipboard
UIColorBreakForOutOfRangeColorComponents
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
- [x] I updated Magnetic to the latest version.
- [x] I read the Contribution Guidelines.
- [x] I read the documentation.
- [x] I searched for existing GitHub issues.
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