title: Pass data through views Xcode 4.2 storyboarding
body: <p>My project is basically a performance car application, using <code>arc4rand()</code> to determine which car will show up next.
  I have made a <a href="https://i.stack.imgur.com/a6hj1.jpg" rel="nofollow noreferrer">picture</a> to explain what I need it to do.</p>
  
  <p>my .h code</p>
  
  <pre><code> @interface BMW : UIViewController {
  
    IBOutlet UIImageView *view;
  
    IBOutlet UILabel *label;
  
  }
  
  -(IBAction)random;
  
  @end
  </code></pre>
  
  <p>my .m code</p>
  
  <pre><code>-(IBAction)random {
     int image = arc4random() % 1;
     switch (image) {
     case 0:
         block.image = [UIImage imageNamed:@"m3.jpg"];
         label.text = @"BMW m3" ;
         break;
  
     default:
         break;
    }
  </code></pre>
  
  <p>how can i get the label and picture to carry over to the 2nd view?
  I am using Xcode 4.2.1 and storyboarding</p>