title: Where is NSAlert.h in the iOS  SDK?
body: <p>According to iOS's <a href="http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/ErrorHandlingCocoa/CreateCustomizeNSError/CreateCustomizeNSError.html">Using and Creating Error Objects</a>, one can display a error object with the following code.</p>
  
  <pre><code>NSError *theError = nil;
  BOOL success = [myDoc writeToURL:[self docURL] ofType:@"html" error:&amp;theError];
  
  if (success == NO) {
      // Maybe try to determine cause of error and recover first.
      NSAlert *theAlert = [NSAlert alertWithError:theError];
      [theAlert runModal]; // Ignore return value.
  }
  </code></pre>
  
  <p>Unfortunately, I am not smart enough to figure out how to include <code>NSAlert.h</code>.</p>
  
  <p>Any help would be appreciated.</p>