Create Terrain2 app, using Xcode's boilerplate
This commit is contained in:
parent
df0a4ca6fc
commit
a771c2622a
14 changed files with 1493 additions and 0 deletions
28
Terrain2/AppDelegate.swift
Normal file
28
Terrain2/AppDelegate.swift
Normal file
|
@ -0,0 +1,28 @@
|
|||
//
|
||||
// AppDelegate.swift
|
||||
// Terrain2
|
||||
//
|
||||
// Created by Eryn Wells on 11/3/18.
|
||||
// Copyright © 2018 Eryn Wells. All rights reserved.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
@NSApplicationMain
|
||||
class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
|
||||
@IBOutlet weak var window: NSWindow!
|
||||
|
||||
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
||||
|
||||
}
|
||||
|
||||
func applicationWillTerminate(_ aNotification: Notification) {
|
||||
|
||||
}
|
||||
|
||||
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
|
||||
return true
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue