Use Shark and Instruments to find leaks in the Twitter example. Fix the leaks and debug any resulting bugs. For instance, after adding autorelease to friendVC, and running for a while, I get the following error in gdb:
*** –[TwitterViewController updateIterator:delta:]: message sent to
deallocated instance 0x47f34f0
To reproduce it, you’ll need to subscribe to fast-updating Twitter services like CombatSI and BreakingNews, and look at a number of friends’ tweet streams. Use the Instruments application and NSZombie to isolate and fix the bug. |