Created
October 3, 2011 23:38
-
-
Save dennda/1260548 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// works: | |
return [TransferFunctionPoint pointWithX:x | |
Y:intercol.w | |
Color:[UIColor greenColor]]; | |
// runtime error: | |
return [TransferFunctionPoint pointWithX:x | |
Y:intercol.w | |
Color:[UIColor colorWithRed:1. green:1. blue:0. alpha:1.]]; | |
// error being: | |
-[UIDeviceRGBColor copyWithZone:]: unrecognized selector sent to instance 0x224680 | |
2011-10-03 16:37:05.846 VolVis[8491:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIDeviceRGBColor copyWithZone:]: unrecognized selector sent to instance 0x224680' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment