When new class of UIViewController is added in Xcode, template does not include a dealloc method.
Now it is not a big deal to add one, obviously, but i wonder if there is a reason it is not included in a template?
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.
I think Apple wants you to use:
All of the above techniques are taking care of the memory management process automatically. But it’s just a suggested route. In Xcode 3.2 we had
-deallocinUIViewControllertemplate. And I use it often.