title: What is the difference between IBOutlet as a property or as a variable?
body: <p>There are two different methods to declare IBOutlet.</p>
  
  <ol>
  <li><p>In @interface section as variable:</p>
  
  <pre><code>IBOutlet UIButton *exampleButton;
  </code></pre></li>
  <li><p>Below the curve bracket but before @end of .h file as property:</p>
  
  <pre><code>@property (nonatomic, retain) IBOutlet UIButton *exampleButton;
  </code></pre></li>
  </ol>
  
  <p>What is the difference between these two methods and where should I use each one? Which method is better and in what cases?</p>