Voices That Matter: iOS Developers Conference Session: Defensive Programming in Cocoa
Code is never 100% reliable. Even the best of us write bugs, and there are also networking failures, memory shortages, and other problems which our apps can encounter at any time. These problems can cause crashes or, worse, corrupt user data. Defensive programming is the art of writing robust code that can tolerate these events.