2015-07-16 23:53:53 +00:00
|
|
|
//
|
|
|
|
// AppDelegate.swift
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 16/07/2015.
|
|
|
|
// Copyright © 2015 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Cocoa
|
|
|
|
|
|
|
|
@NSApplicationMain
|
|
|
|
class AppDelegate: NSObject, NSApplicationDelegate {
|
|
|
|
|
2016-09-16 02:12:12 +00:00
|
|
|
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
2015-07-16 23:53:53 +00:00
|
|
|
// Insert code here to initialize your application
|
|
|
|
}
|
|
|
|
|
2016-09-16 02:12:12 +00:00
|
|
|
func applicationWillTerminate(_ aNotification: Notification) {
|
2015-07-16 23:53:53 +00:00
|
|
|
// Insert code here to tear down your application
|
|
|
|
}
|
|
|
|
|
2016-01-07 02:09:49 +00:00
|
|
|
// decline to open a new file unless the user explicitly requests it
|
2016-09-16 02:12:12 +00:00
|
|
|
func applicationShouldOpenUntitledFile(_ sender: NSApplication) -> Bool {
|
2016-01-07 02:09:49 +00:00
|
|
|
return false
|
|
|
|
}
|
2015-07-16 23:53:53 +00:00
|
|
|
}
|
|
|
|
|