summaryrefslogtreecommitdiff
path: root/tests/projects/swift/macapp/src/ViewController.swift
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-10 23:59:00 +0800
committerruki <[email protected]>2020-04-10 17:54:03 +0800
commitc09fd5a74f8297e04bca53035b6543081a7fa905 (patch)
treee36b9c4693c2a91b3dfef44f62d23361477e72a8 /tests/projects/swift/macapp/src/ViewController.swift
parent7b64f2e4d507a44c214edf408cba042960204f9a (diff)
iosapp and macapp for swift
Diffstat (limited to 'tests/projects/swift/macapp/src/ViewController.swift')
-rw-r--r--tests/projects/swift/macapp/src/ViewController.swift27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/projects/swift/macapp/src/ViewController.swift b/tests/projects/swift/macapp/src/ViewController.swift
new file mode 100644
index 000000000..4b7c70657
--- /dev/null
+++ b/tests/projects/swift/macapp/src/ViewController.swift
@@ -0,0 +1,27 @@
+//
+// ViewController.swift
+// test9
+//
+// Created by ruki on 2020/4/10.
+// Copyright © 2020 tboox. All rights reserved.
+//
+
+import Cocoa
+
+class ViewController: NSViewController {
+
+ override func viewDidLoad() {
+ super.viewDidLoad()
+
+ // Do any additional setup after loading the view.
+ }
+
+ override var representedObject: Any? {
+ didSet {
+ // Update the view, if already loaded.
+ }
+ }
+
+
+}
+