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:
parent
d3418550eb
commit
eaf1482182
@ -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()
|
||||
// }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user