title: UISwitch not reaction
body: <p>This is probably simple. My UISwitch from my xib is connected to an IBOutlet "switch". </p>
  
  <p>however when i create the viewController, i want to check if a variable is YES/NO, and the switch should be the correct value. </p>
  
  <pre><code>ViewController *vc = [[ViewController alloc] init];
  if(variable ==YES){
     [vc.switch setOn:YES];
  }else{
      [vc.switch setOn:NO];
  }
  </code></pre>
  
  <p>however its always unchecked. What could i be doing wrong? i´ve double checked the connection to the IBOutlet</p>