Make delegate-less init() fail since a delegate is currently required

This commit is contained in:
Nate Weaver 2019-10-21 17:24:15 -05:00
parent e7278017d9
commit 37e77a9596

View File

@ -23,7 +23,9 @@ class ExportOPMLAccessoryViewController: NSViewController {
self.delegate = delegate
}
// MARK: - NSViewController
init() {
preconditionFailure("init() without delegate not implemented by design.")
}
required init?(coder: NSCoder) {
preconditionFailure("ExportOPMLAccessoryView.init(coder) not implemented by design.")