title: Access to a variable from another view controller
body: <p>I'm working on a project in objective C where i have to modificate some variables which are in a view controller from uiviews.</p>
  
  <p>So i've tried somethings like this :</p>
  
  <p>ViewController.h :</p>
  
  <pre><code>@property (nonatomic) bool Contact;
  </code></pre>
  
  <p>One of the UIViews :</p>
  
  <pre><code>ViewController * View;
  View.Contact = YES;
  </code></pre>
  
  <p>I've also tried to make a setter method like this in the ViewController :</p>
  
  <pre><code>-(void) SetterContact:(bool)boolean;
  </code></pre>
  
  <p>And so to modificate from a UIView like this :</p>
  
  <pre><code>[View SetterContact:YES];
  </code></pre>
  
  <p>But it's looking working.
  I've read that i have to init the object in which is containt the variable, but in memory management it's not really good to make some initializations from object who are already actives no ?
  So if View is already init, i'm not going to call the init method from another UIView no ?</p>
  
  <p>Thanks for your help !</p>