DemoBots (OS X)/AppDelegate.swift
/* |
Copyright (C) 2016 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
Application delegate for the OS X version of DemoBots. |
*/ |
import Cocoa |
@NSApplicationMain |
class AppDelegate: NSObject, NSApplicationDelegate { |
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { |
return true |
} |
} |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-09-13