vicc/chameleon

EXC_BAD_ACCESS Error

99centsappdevelopment opened this issue · 2 comments

I am getting an EXC_BAD_ACCESS error on the following line in UIColor+ChameleonPrivate:

    *L = [LABValues[0] floatValue];

(L = NULL)

Why is this? I installed manually, not with CocoaPods (I just dragged the files into my project and imported Chameleon.h - no other errors)

This is only a problem, I have discovered, when for:

[NSArray arrayOfColorsFromImage:img withFlatScheme:NO];

withFlatScheme = YES. There is no problem if it = NO

bre7 commented

Yeah, there's an open issue already: Check #53. Fix was submitted (#52), merge pending... If you want, check out my branch for the time being: https://github.com/bre7/Chameleon/tree/carthage