MediaLibraryLoader/AppDelegate.swift
/* |
Copyright (C) 2016 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
The `AppDelegate` class is a delegate to NSApplication responsible for managing the app's main functions. |
*/ |
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 applicationShouldTerminate(_ sender: NSApplication)-> NSApplicationTerminateReply { |
return .terminateNow |
} |
} |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-11-03