ObjectsExample/AppDelegate.swift
/* |
Copyright (C) 2016 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
The application delegate. |
*/ |
import Cocoa |
@NSApplicationMain |
class AppDelegate: NSObject, NSApplicationDelegate { |
@IBOutlet weak var window: NSWindow! |
func applicationDidFinishLaunching(_ aNotification: Notification) { |
} |
func applicationWillTerminate(_ aNotification: Notification) { |
} |
} |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-09-13