What's the best way to fix memory leaks on the iPhone?

Posted by Anthony Glyadchenko on Stack Overflow See other posts from Stack Overflow or by Anthony Glyadchenko
Published on 2010-02-17T01:43:01Z Indexed on 2010/05/20 22:30 UTC
Read the original article Hit count: 239

Filed under:
|
|

I'm trying to use XCode's Leaks utility to fix some memory leaks in my code. Is there a better and more understandable way to check for leaks with explanations that pinpoint the exact line and/or offer suggestions?

Another question, I'm using AVAudioRecorder in my code in one of my view controllers. Should I load the recorder in viewDidLoad or in viewWillAppear?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about SDK