Tutorial: Debugging Objective-C Memory Leaks For Beginners

Memory leaks can be extremely difficult to find, and can become a very costly problem when you are developing in Objective-C.  Even if you follow all the rules correctly memory leaks can still be an issue.

I found a  tutorial from Ray Wenderlich,  the creator of the Space Game Starter Kit and co-author of the Learning Cocos2D book, that gives a great overview of the tools and techniques for debugging those memory leaks in Xcode.  If you run into memory leak issues this tutorial gives a great overview of the basics.

Covered in the tutorial are the basics of NSZombie, how to use the static analyzer from the build and analyze option in Xcode, and using the Leaks instrument.

You can find the tutorial here:
How To Debug Memory Leaks With Xcode And Instruments

This is definitely some must know information for those looking to solve their first memory leak issues with Xcode and Objective-C

Keynotopia is the largest collection of user interface design templates so you can build professional active iPhone and iPad app prototypes quickly using Keynote. No programming knowledge required.
Read more...
DeliciousTwitterFacebookLinkedInEmail

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 send a Tweet to @maniacdev on Twitter or submit the url here.

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

2 Responses to Tutorial: Debugging Objective-C Memory Leaks For Beginners

  1. Tutorial: Debugging Objective-C Memory Leaks For Beginners: Tweet Memory leaks can be… http://goo.gl/fb/jyiwN

  2. Tutorial: Debugging Objective-C Memory Leaks For Beginners http://bit.ly/fswlZL

Click on a tab to select how you'd like to leave your comment

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>