title: Swift Xcode 6: How do I use multiple functions in one statement?
body: <p>I am a newcomer in xcode and swift, and I am having a problem with using two IBActions to allow a button to be enabled. I have 2 text fields, and I have a button that is disabled. I want the button to be enabled when both of the text fields are filled in. How can I do this? So far I have declared two functions with IBActions for the two text fields:</p>
  
  <pre><code> @IBAction func yourWeightEditingDidBegin(sender: AnyObject) {
  
  }
  
  @IBAction func calorieNumberEditingDidBegin(sender: AnyObject) {
  
  }
  </code></pre>
  
  <p>Thanks!</p>