-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppDelegate.swift
41 lines (33 loc) · 930 Bytes
/
AppDelegate.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
//
// ClockLayer.swift
// myClock
//
//
// Copyright © 2017 thierry Hentic.
//
// Licensed under Apache License 2.0
//
// https://github.com/thierryH91200/myClock
import Cocoa
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
func applicationDidFinishLaunching(_ aNotification: Notification) {
// Insert code here to initialize your application
}
func applicationWillTerminate(_ aNotification: Notification) {
// Insert code here to tear down your application
}
func applicationShouldTerminateAfterLastWindowClosed (_ sender: NSApplication) -> Bool
{
return true
}
func applicationWillBecomeActive(_ notification: Notification)
{
print("applicationWillBecomeActive")
}
func applicationWillResignActive(_ notification: Notification)
{
print("applicationWillResignActive")
}
}