title: Using imagePickerController with swift 2
body: <p>I am using the following function to grab photos from  a users photo library, and I am getting the error: </p>
  
  <blockquote>
    <p>Objective-C method <code>'imagePickerController:didFinishPickingImage:editinginfo</code> conflicts with optional requirement in protocol <code>UIImagePickerControllerDelegate</code>.</p>
  </blockquote>
  
  <pre><code>func imagePickerController(picker: UIImagePickerController, didFinishPickingImage image: UIImage!, editingInfo: [NSObject : AnyObject]!) {
  
      print("Image Selected")
  
      self.dismissViewControllerAnimated(true, completion: nil)
  
      importedImage.image = image
  
  }
  </code></pre>
  
  <p>Can anyone tell me how to modify the function to conform to swift 2.0 optional requirements? </p>
  
  <p>Thanks!</p>