From 8412194269fe6632fe9ec4766392d270d47f40e1 Mon Sep 17 00:00:00 2001
From: Teddy Wing
Date: Mon, 8 Oct 2018 16:35:05 +0200
Subject: New AppleScript App initialised from Xcode Version 9.2 (9C40b)
---
Word Count/AppDelegate.applescript | 24 +
.../AppIcon.appiconset/Contents.json | 58 ++
Word Count/Base.lproj/MainMenu.xib | 692 +++++++++++++++++++++
Word Count/Info.plist | 32 +
Word Count/main.m | 15 +
5 files changed, 821 insertions(+)
create mode 100644 Word Count/AppDelegate.applescript
create mode 100644 Word Count/Assets.xcassets/AppIcon.appiconset/Contents.json
create mode 100644 Word Count/Base.lproj/MainMenu.xib
create mode 100644 Word Count/Info.plist
create mode 100644 Word Count/main.m
(limited to 'Word Count')
diff --git a/Word Count/AppDelegate.applescript b/Word Count/AppDelegate.applescript
new file mode 100644
index 0000000..e42da45
--- /dev/null
+++ b/Word Count/AppDelegate.applescript
@@ -0,0 +1,24 @@
+--
+-- AppDelegate.applescript
+-- Word Count
+--
+-- Created by tw on 10/8/18.
+-- Copyright © 2018 tw. All rights reserved.
+--
+
+script AppDelegate
+ property parent : class "NSObject"
+
+ -- IBOutlets
+ property theWindow : missing value
+
+ on applicationWillFinishLaunching_(aNotification)
+ -- Insert code here to initialize your application before any files are opened
+ end applicationWillFinishLaunching_
+
+ on applicationShouldTerminate_(sender)
+ -- Insert code here to do any housekeeping before your application quits
+ return current application's NSTerminateNow
+ end applicationShouldTerminate_
+
+end script
diff --git a/Word Count/Assets.xcassets/AppIcon.appiconset/Contents.json b/Word Count/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000..2db2b1c
--- /dev/null
+++ b/Word Count/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,58 @@
+{
+ "images" : [
+ {
+ "idiom" : "mac",
+ "size" : "16x16",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "mac",
+ "size" : "16x16",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "mac",
+ "size" : "32x32",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "mac",
+ "size" : "32x32",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "mac",
+ "size" : "128x128",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "mac",
+ "size" : "128x128",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "mac",
+ "size" : "256x256",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "mac",
+ "size" : "256x256",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "mac",
+ "size" : "512x512",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "mac",
+ "size" : "512x512",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/Word Count/Base.lproj/MainMenu.xib b/Word Count/Base.lproj/MainMenu.xib
new file mode 100644
index 0000000..64f74a3
--- /dev/null
+++ b/Word Count/Base.lproj/MainMenu.xib
@@ -0,0 +1,692 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Word Count/Info.plist b/Word Count/Info.plist
new file mode 100644
index 0000000..93c9257
--- /dev/null
+++ b/Word Count/Info.plist
@@ -0,0 +1,32 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIconFile
+
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(PRODUCT_NAME)
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ 1.0
+ CFBundleVersion
+ 1
+ LSMinimumSystemVersion
+ $(MACOSX_DEPLOYMENT_TARGET)
+ NSHumanReadableCopyright
+ Copyright © 2018 tw. All rights reserved.
+ NSMainNibFile
+ MainMenu
+ NSPrincipalClass
+ NSApplication
+
+
diff --git a/Word Count/main.m b/Word Count/main.m
new file mode 100644
index 0000000..fa20316
--- /dev/null
+++ b/Word Count/main.m
@@ -0,0 +1,15 @@
+//
+// main.m
+// Word Count
+//
+// Created by tw on 10/8/18.
+// Copyright © 2018 tw. All rights reserved.
+//
+
+#import
+#import
+
+int main(int argc, const char * argv[]) {
+ [[NSBundle mainBundle] loadAppleScriptObjectiveCScripts];
+ return NSApplicationMain(argc, argv);
+}
--
cgit v1.2.3