From eaf148218215658ac9529107b1278a238de32759 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 3 Apr 2018 23:11:19 -0400 Subject: [PATCH] Reverts the once-again-unused document controller. --- .../Document Controller/DocumentController.swift | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/OSBindings/Mac/Clock Signal/Document Controller/DocumentController.swift b/OSBindings/Mac/Clock Signal/Document Controller/DocumentController.swift index 78c1c53da..01ec875bb 100644 --- a/OSBindings/Mac/Clock Signal/Document Controller/DocumentController.swift +++ b/OSBindings/Mac/Clock Signal/Document Controller/DocumentController.swift @@ -9,20 +9,4 @@ import Cocoa class DocumentController: NSDocumentController { -// override func newDocument(_ sender: Any?) { -// // Show the new document window. -// Bundle.main.loadNibNamed(NSNib.Name(rawValue: "MachinePicker"), owner: self, topLevelObjects: nil) -// } -// -// @IBOutlet var machinePicker: MachinePicker? -// @IBAction func createMachine(_ sender: NSButton?) { -// let machine = machinePicker!.selectedMachine() -// let document: MachineDocument = try! openUntitledDocumentAndDisplay(true) as! MachineDocument -// document.configureAs(machine) -// sender?.window?.close() -// } -// -// @IBAction func cancelCreateMachine(_ sender: NSButton?) { -// sender?.window?.close() -// } }