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!

©2010 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

Share and Enjoy:

RSS
Twitter
Facebook
DZone
HackerNews
del.icio.us
FriendFeed

Leave a Reply

Your email address will not be published. Required fields are marked *