mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Reverts the once-again-unused document controller.
This commit is contained in:
parent
d3418550eb
commit
eaf1482182
@ -9,20 +9,4 @@
|
|||||||
import Cocoa
|
import Cocoa
|
||||||
|
|
||||||
class DocumentController: NSDocumentController {
|
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()
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user