Author Archives: Karl Kraft
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.
A drop-in replacement for NSLog()
I recently saw this post on turning off NSLog for non-debug builds, and found it disappointing and inspirational at the same time. Scattering hundreds of #ifdefs around code is a recipe for disaster. Eventually some non debugging code will end up inside the #ifdef and the debug and release builds will function differently, making debugging [...]
Versions – “Waiting for transactions to finish”
Every time I try to quit Versions it pops up an alert and says “Waiting for transactions to finish”. The alert will stay on the screen until I force quit Versions. This makes every reboot or logout a painful process. This has been driving me crazy for awhile now, so I looked into the problem [...]
Yet another iPhone Emergency Call Security Bug
iPhone Emergency Call has a security bug in the way it handles SMS messages
HazMat – a Development Story
A detailed story of the writing of HazMat with a spreadsheet full of numbers.
