Introduction to Assertions and Logging
Explains how to use assertions and logging to diagnose problems in Cocoa applications.
Organization of This Document
This programming topic covers exception handling insofar as it relates to evaluations of given conditions and the logging of messages. For more sophisticated exception handling, namely techniques involving the raising (or throwing) and handling of exception objects, see Exception Programming Topics .
The articles covered in this programming topic are:
How Assertions Work
Using the Assertion Macros
Logging Messages
Using a Custom Assertion Handler
Next
Copyright © 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-04-04