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:
Fantastic demonstration of real problems and concrete solutions from a speaker who is clearly an expert.
He was even more engaging and hilarious during this talk as he pointed out common bugs that I know I have in my code. Best technical session.
Best talk of the conference. Worth the price of admission. Phenomenal stuff.
- ISBN10 0132980134
- ISBN13 9780132980135
- Publish Date 29 December 2011
- Publish Status Active
- Publish Country GB
- Imprint Pearson Education Limited
- Language English