I'm new to Objective C. Here's my code
enum effectName {
RESET, Flea,Tint,Grayscale,Pixelate,Blur,Mirror,changeBrightness,changeContrast,Invert
};
enum effectName EffectToApply;
enum effectName prevEffect;
and in the implementation file, I've to declare EffectToApply and prevEffect as null. I tried doing it like this
-(void) Effect
{
EffectToApply= NULL;
prevEffect=nil;
}
but it gives a warning Incompatible pointer to integer conversion. Can someone help me how to do this?