title: Passing Bool Value from one viewcontroller to another in ios
body: <p>I am trying to send a BOOL value from 
  <code>ViewController A</code> to <code>ViewController B</code>.
  On <code>ViewController A</code>, <code>dashboard.skip</code> shows <code>YES</code>, but on 
  <code>ViewController B</code>, <code>self.skip</code> shows <code>NO</code>.</p>
  
  <pre><code>- (IBAction)skipToDashboard:(UIButton *)sender {
      ViewController B *vc=[[ViewController B alloc]init];
      vc.presentButtonTag=sender.tag;
      self.fromSkip=YES;
      vc.skip=self.fromSkip;
  }
  </code></pre>
  
  <p>In <code>ViewController B</code>:</p>
  
  <pre><code>@property (nonatomic,assign) BOOL skip;
  </code></pre>