1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 03:32:32 +00:00

Reverts the once-again-unused document controller.

This commit is contained in:
Thomas Harte 2018-04-03 23:11:19 -04:00
parent d3418550eb
commit eaf1482182

View File

@ -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()
// }
}