Monthly Archives: April 2009

Don’t use non mutable objects to understand leak detection

This is a replay of a post I recently submitted to iPhoneSDK to explain why using non-mutable objects like NSString to learn leak detection is a bad idea. The original post by Robert Scott complained that this code wasn’t showing Leaks in instruments even though it should be leaking a NSString with every pass.

Posted in Debugging | Comments Off
  • iChat Status