How can I override release method in ARC?
I need it just for debugging purpose.
How can I override release method in ARC? I need it just for debugging
Share
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.
You don’t. Fiddling with the memory management routines will likely cause you no end of trouble.
If you’re dealing with an over-release (which it sounds like), you should learn to use Instruments instead. That will tell you exactly when all the
-releasecalls are happening, and where they’re coming from.