Also available in other formats.
Register your product to gain access to bonus material or receive a coupon.
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. In this session, Mike discusses the various strategies to use when writing Cocoa code that can help you to protect your app against bugs in your own code, bugs in Apple's code, resource shortages, user error, and just plain bad luck.
Conference attendees said: