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 {
|
|
|
|
|
|
|
|
func applicationDidFinishLaunching(aNotification: NSNotification) {
|
|
|
|
// Insert code here to initialize your application
|
|
|
|
}
|
|
|
|
|
|
|
|
func applicationWillTerminate(aNotification: NSNotification) {
|
|
|
|
// 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
|
|
|
|
func applicationShouldOpenUntitledFile(sender: NSApplication) -> Bool {
|
|
|
|
return false
|
|
|
|
}
|
2015-07-16 23:53:53 +00:00
|
|
|
}
|
|
|
|
|