Memory management is arguably the most difficult concept for beginner programmers to grasp. When I decided to go back to school, I was required to take beginner programming classes since there is no option to test in to computer science courses. I witnessed the hair-pulling frustration of the beginner students when memory management was introduced for the first time. The hardest part of that course was when I was asked to act as a sort of student teacher-aid, going around helping trying to help other students learn memory management.
Luckily, an author going by r_adem has released an excellent article explaining proper memory management on iOS. There are several snippets with detailed explanations outlining when and why you would use certain memory management methods.
He shows the right way and the wrong way to manage memory, both with code snippets. Check it out, and thanks to John Dowa at ManiacDev for the link, which can be found below.
[Via: ManiacDev.com]
[Link: How to avoid memory leaks in iPhone applications]
Random Posts:
- SpaceBubble Code Updated
- Simple iPhone Animation Tutorial
- iAd Profit, the truth
- Source Code to iStrobe
- Core Location GPS Source Code
If you found this useful, shoot me a small donation or at the very least leave a comment, every bit of encouragement helps keep me motivated to update with more content on a regular basis!



