Подскажите что ему не нравится и как исправить?
import UIKit
class Alert: NSObject {
static func show(title: String, message: String, vc: UIViewController) {
//Создание контроллера
let alertCT = UIAlertController(title: title, message: message, preferredStyle: UIAlertControllerStyle.Alert)
//Create Alert Action
let okAc = UIAlertAction(title: "Ok", style: UIAlertActionStyle.Default) { (alert:UIAlertAction) -> Void in alertCT.dismissViewControllerAnimated(true, completion: nil)}
//Add Alert Action to Alert Controller
alertCT.addAction(okAc)
//Display Alert Controller
vc.presentedViewController(alertCT, animated: true, completion: nil)
}
}