 public class KCAlert : NSObject
 {
 	public enum AlertResponce {
-		case Stop
-		case Abort
-		case Continue
+		case OK
+		case Cancel
 	}
 
 	public enum SaveResponce {

		let alert = NSAlert(error: err)
		alert.alertStyle = codeToStyle(error: err)
		switch alert.runModal() {
		case NSApplication.ModalResponse.stop:
			result = .Stop
		case NSApplication.ModalResponse.abort:
			result = .Abort
		case NSApplication.ModalResponse.continue:
			result = .Continue
		default:
			result = .Abort
		}
		return result
	}

		})
		alert.addAction(acttion)
		viewcont.present(alert, animated: false, completion: nil)
		return .Cancel
	}
	#endif

