1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-06 12:07:57 +00:00
CLK/OSBindings/Mac/Clock Signal/AppDelegate.swift

28 lines
648 B
Swift
Raw Normal View History

//
// 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) {
// Insert code here to initialize your application
}
2016-09-16 02:12:12 +00:00
func applicationWillTerminate(_ aNotification: Notification) {
// Insert code here to tear down your application
}
// 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 {
return false
}
}