title: Swift Displaying Alerts best practices
body: <p>I have various controllers in my app that all require validation, and when validation fails, I want to display an alert with the errors.  Is there some best practice/design pattern for doing this?  I could simply create a static function in a Helper class like so:</p>
  
  <pre><code>static func displayAlert(message: String, buttonTitle: String, vc: UIViewController)
  {
      let alertController = UIAlertController(title: "", message: message, preferredStyle: .Alert)
  
      let okAction = UIAlertAction(title: buttonTitle, style: .Default, handler: nil)
      alertController.addAction(okAction)
  
      vc.presentViewController(alertController, animated: true, completion: nil)
  }
  </code></pre>
  
  <p>But then I need to pass the view controller..which seems like bad practice.  I could shoot off a notification and observe it, but that seems like overkill.  Am I overthinking this, or is there some more acceptable way to go about handling something like this? </p>