title: Get data value from UIPopOverPresentationController to UIViewController?
body: <p>i want to get the value from the presented popover. I googled around and got this answer</p>
  
  <pre><code>- (void)popoverControllerDidDismissPopover:(UIPopoverController *)popoverController
  {
      YourViewController *controller =  popoverController.contentViewController;
      MyData *data = controller.yourData;
      //Do something with data
  }
  </code></pre>
  
  <p>But i have used UIPopOverPresentationController. So how am i going to get the value from these delegate method perhapsly</p>
  
  <pre><code>func popoverPresentationControllerDidDismissPopover(popoverPresentationController: UIPopoverPresentationController) {
  
     // var controller = popoverPresentationController.
  
  
  }
  </code></pre>
  
  <p><strong>OR Should i create delegate to pass data back to main View Controller ?</strong></p>