Get Updates By E-mail 

Article Written By:
Johann Dowa

Simple Tips To Avoid Memory Leaks In Objective-C

  •  
  •  
  •  
  •  
  •  

Some time ago i created an iOS Objective-C cheat sheet for developers looking to transition to Objective-C who already understood languages such as Java, C++ and C# to get started with Objective-C.  As it was just a quick guide I did not get into memory management which was so different from those languages.

Since then I also posted about a great video tutorials on Objective-C memory management which covered things in great detail.

Today I found a good guide on some specific situations that could lead to a memory leak if dealt with improperly.  This includes dealing with autorelease objects, autorelease pools, returning pointers, and how memory management is handled with collections.

You can find the guide here:
http://www.codeproject.com/KB/iPhone/avoidiphoneleaks.aspx

Thanks for reading, please share this using the buttons below!


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments