I know that this is rarely required to override the alloc or dealloc methods,but if required is it possible in iPhone programming?
I know that this is rarely required to override the alloc or dealloc methods,but
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 can and indeed, you should (if using manual memory management) override
deallocto release any resources you hold (not forgetting to call[super dealloc]when finished). Overridingallocis possible but, as you say, rarely needed.