title: Passing info to a delegate from a UIActionSheet
body: <p>My understanding about passing data back to a delegate completely revolves around making a new view controller and having it conform to a protocol. </p>
  
  <p>I am trying to get a time input back from a UIDatePicker set with the UIDatePickerModeCountDownTimer mode and I am running into issues.</p>
  
  <p>Inside of Main1.m I create a UIActionSheet *action, and set everything up so that it presents itself with a UIDatePicker on a click. Inside of Main.m I also say:</p>
  
  <pre><code>main.delegate = self;
  </code></pre>
  
  <p>If this were not a UIActionSheet, I would make a protocol reference inside the new ViewController and then have the new vc pass data to a method that Main has, but I can't do that with a UIActionSheet!!</p>
  
  <p>What am I missing? I assume there is something inherently different about Action Sheets, ut I can't figure it out.</p>
  
  <p>Thanks for your help!!!</p>
  
  <p>EDIT:</p>
  
  <p>Sorry! I was giving a generic name to my view controller. It isn't actually Main.m, its FirstViewController.h/m </p>
  
  <p>I didn't realize that my generic reference was getting mixed up with the Main.m file that is completely different than a vc. </p>