I have memory leakage issue in my delgate for ios sdk.
Please check the image here
http://screencast.com/t/tIZjknBT
If I am coming back on this view, it is crashing and if I retain it, via [self.delegate retain]; then it wont crash.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, use this for the annoying warning message: http://jomnius.blogspot.ro/2011/09/declaration-of-struct-sockaddrin-will.html
Second, why do you retain the delegate? I usually have it as nonatomic, retain class property with no need to manually retain it…
The crash probably doesn’t have anything to do with this, it’s more likely you are trying to access a deallocate object somewhere. My suggestion would be to comment/delete the retain line, enable NSZombies ( How to enable NSZombie in Xcode? ) and then tell us more about the crash