title: Retrieving image from NSData
body: <p>I have a view controller that allows me to add a name, image, and date..the name and date are sent back to the table view controller and displayed..I then have a edit view controller that shows when a populated cell is clicked...</p>
  
  <p>my save method:</p>
  
  <pre><code>-(IBAction)save:(id)sender {
    NSData *imageData = UIImagePNGRepresentation(_imageview.image);
    [self.currentPlayer setValue:imageData forkey:@"playerPic"];
  
   [self.delegate addPlayerViewControllerDidSave];
  } 
  </code></pre>
  
  <p>my delegate is calling the save:&amp;error so i wont paste that code</p>
  
  <p>I believe this is working but my question is how do I have that image display on the edit view controller</p>
  
  <p>my name and date information is passing but not the image</p>
  
  <p>I have a UIImageView and I am attempting something like that but I understand those are two different pointer types and wont work</p>
  
  <pre><code> -(void)viewDidLoad {
   firstnameTextField.text = [self.currentPlayer playerName];
   editImage.image = [self.currentPlayer playerPic];
  
   }
  </code></pre>
  
  <p>any help would be appreciated</p>