I have a class where I have:
static UiImage *image;
In the same class I have a method setImage (UiImage*) imag
{self.image= [[Uiimage alloc]init]; //*
self.image=imag;}
In another class I have
[myFirstClass setImage: (uiimage)]
This uiimage exists .
The app frezees and it stops at (*). Houndreds of proces start at this line. I also see EXC_BAD_ACCESS
Thanks
Use the following instead…