title: How stop another function from an UIButton function using Swift?
body: <p>I got two functions running called updatePrice and updateTime, and I want to stop them when I click an UIButton. </p>
  
  <pre><code>func updateTime() {...}
  func updatePrice() {...}
  
  // ..
  
  @IBAction func Button(sender: UIButton) { 
  
      // What should I write here? 
  
  }
  </code></pre>