Closed qwind365 closed 5 years ago
Hm, on which platform are you trying? What is the error you're getting?
@chriseidhof I run it on xcode 8.3.2 playground.
error: Playground execution aborted: error: Execution was interrupted, reason: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0). The process has been left at the point where it was interrupted, use "thread return -x" to return to the state before expression evaluation.
I have the same problem
Is this an iOS or Mac playground? Switching between the two might help! Or could you post the complete playground?
For me the problem came from how I pass the color.
I used first UIColor - color.ciColor, with this was crashing. Then I switch to this from a comment here "[kCIInputColorKey: CIColor(cgColor: color.cgColor)]" and it worked.
I am on XCode 9.2
who can tell me how to fix it? thank you !