title: Send NSNotification from AppDelegate
body: <p>I want to send an <code>NSNotification</code> from this method (when the <code>UIButton</code> is clicked) in my AppDelegate.m:</p>
  
  <pre><code>- (void)alertView:(UIAlertView *)alertView 
          clickedButtonAtIndex:(NSInteger)buttonIndex{
  
  if (buttonIndex == 0){
      //cancel clicked ...do your action
      // HERE
  }
  }
  </code></pre>
  
  <p>..and receive it in one of my <code>UIViewControllers</code>. How can I do that?</p>
  
  <p><strong>EDIT WITH MORE INFO:</strong> I am making an alarm app, and when the user presses the <code>UIButton</code>, I want to stop the alarm. I figured that <code>NSNotifications</code> is the only way to get information from my AppDelegate.m file to a ViewController.m file?</p>