Try the search, it's linked to some great forums

Wednesday, June 29, 2011

NSZombie memory tracking

Use NSZombie for tracking memory errors.  You use it by setting the access
Go to Project -> Edit Active Executable 
Click Arguments 
Click + in the "Variables to be set in the environment" section 
Enter NSZombieEnabled in the Name column 
YES in the Value column. 
Make sure the checkmark for the NSZombieEnabled entry is checked.

This will allow you to see retain counts & deallocated objects