title: IBOutlet and IBAction
body: <p>What is the purpose of using IBOutlets and IBActions in Xcode and Interface Builder?</p>
  
  <p>Does it make any difference if I don't use IBOutlets and IBActions?</p>
  
  <hr>
  
  <p>Swift:</p>
  
  <pre><code>@IBOutlet weak var textField: UITextField!
  
  @IBAction func buttonPressed(_ sender: Any) { /* ... */ }
  </code></pre>
  
  <p>Objective-C:</p>
  
  <pre><code>@property (nonatomic, weak) IBOutlet UITextField *textField;
  
  - (IBAction)buttonPressed:(id)sender { /* ... */ }
  </code></pre>