Permalink
Please sign in to comment.
Showing
with
1,384 additions
and 0 deletions.
- +410 −0 TouchFart.xcodeproj/project.pbxproj
- +7 −0 TouchFart.xcodeproj/project.xcworkspace/contents.xcworkspacedata
- +46 −0 TouchFart.xcodeproj/xcuserdata/hungtruong.xcuserdatad/xcschemes/TouchFart.xcscheme
- +27 −0 TouchFart.xcodeproj/xcuserdata/hungtruong.xcuserdatad/xcschemes/xcschememanagement.plist
- +26 −0 TouchFart/AppDelegate.swift
- +58 −0 TouchFart/Assets.xcassets/AppIcon.appiconset/Contents.json
- +693 −0 TouchFart/Base.lproj/Main.storyboard
- +32 −0 TouchFart/Info.plist
- +27 −0 TouchFart/ViewController.swift
- +22 −0 TouchFartTests/Info.plist
- +36 −0 TouchFartTests/TouchFartTests.swift
| @@ -0,0 +1,46 @@ | ||
| +<?xml version="1.0" encoding="UTF-8"?> | ||
| +<Scheme | ||
| + LastUpgradeVersion = "0810" | ||
| + version = "1.3"> | ||
| + <BuildAction | ||
| + parallelizeBuildables = "YES" | ||
| + buildImplicitDependencies = "YES"> | ||
| + </BuildAction> | ||
| + <TestAction | ||
| + buildConfiguration = "Debug" | ||
| + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| + shouldUseLaunchSchemeArgsEnv = "YES"> | ||
| + <Testables> | ||
| + </Testables> | ||
| + <AdditionalOptions> | ||
| + </AdditionalOptions> | ||
| + </TestAction> | ||
| + <LaunchAction | ||
| + buildConfiguration = "Debug" | ||
| + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| + launchStyle = "0" | ||
| + useCustomWorkingDirectory = "NO" | ||
| + ignoresPersistentStateOnLaunch = "NO" | ||
| + debugDocumentVersioning = "YES" | ||
| + debugServiceExtension = "internal" | ||
| + allowLocationSimulation = "YES"> | ||
| + <AdditionalOptions> | ||
| + </AdditionalOptions> | ||
| + </LaunchAction> | ||
| + <ProfileAction | ||
| + buildConfiguration = "Release" | ||
| + shouldUseLaunchSchemeArgsEnv = "YES" | ||
| + savedToolIdentifier = "" | ||
| + useCustomWorkingDirectory = "NO" | ||
| + debugDocumentVersioning = "YES"> | ||
| + </ProfileAction> | ||
| + <AnalyzeAction | ||
| + buildConfiguration = "Debug"> | ||
| + </AnalyzeAction> | ||
| + <ArchiveAction | ||
| + buildConfiguration = "Release" | ||
| + revealArchiveInOrganizer = "YES"> | ||
| + </ArchiveAction> | ||
| +</Scheme> |
| @@ -0,0 +1,27 @@ | ||
| +<?xml version="1.0" encoding="UTF-8"?> | ||
| +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| +<plist version="1.0"> | ||
| +<dict> | ||
| + <key>SchemeUserState</key> | ||
| + <dict> | ||
| + <key>TouchFart.xcscheme</key> | ||
| + <dict> | ||
| + <key>orderHint</key> | ||
| + <integer>0</integer> | ||
| + </dict> | ||
| + </dict> | ||
| + <key>SuppressBuildableAutocreation</key> | ||
| + <dict> | ||
| + <key>1968E27C1DC2E22100422BFE</key> | ||
| + <dict> | ||
| + <key>primary</key> | ||
| + <true/> | ||
| + </dict> | ||
| + <key>1968E28D1DC2E22100422BFE</key> | ||
| + <dict> | ||
| + <key>primary</key> | ||
| + <true/> | ||
| + </dict> | ||
| + </dict> | ||
| +</dict> | ||
| +</plist> |
| @@ -0,0 +1,26 @@ | ||
| +// | ||
| +// AppDelegate.swift | ||
| +// TouchFart | ||
| +// | ||
| +// Created by Hung Truong on 10/27/16. | ||
| +// Copyright © 2016 Hung Truong. All rights reserved. | ||
| +// | ||
| + | ||
| +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 | ||
| + } | ||
| + | ||
| + | ||
| +} | ||
| + |
| @@ -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" | ||
| + } | ||
| +} |
| @@ -0,0 +1,32 @@ | ||
| +<?xml version="1.0" encoding="UTF-8"?> | ||
| +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| +<plist version="1.0"> | ||
| +<dict> | ||
| + <key>CFBundleDevelopmentRegion</key> | ||
| + <string>en</string> | ||
| + <key>CFBundleExecutable</key> | ||
| + <string>$(EXECUTABLE_NAME)</string> | ||
| + <key>CFBundleIconFile</key> | ||
| + <string></string> | ||
| + <key>CFBundleIdentifier</key> | ||
| + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
| + <key>CFBundleInfoDictionaryVersion</key> | ||
| + <string>6.0</string> | ||
| + <key>CFBundleName</key> | ||
| + <string>$(PRODUCT_NAME)</string> | ||
| + <key>CFBundlePackageType</key> | ||
| + <string>APPL</string> | ||
| + <key>CFBundleShortVersionString</key> | ||
| + <string>1.0</string> | ||
| + <key>CFBundleVersion</key> | ||
| + <string>1</string> | ||
| + <key>LSMinimumSystemVersion</key> | ||
| + <string>$(MACOSX_DEPLOYMENT_TARGET)</string> | ||
| + <key>NSHumanReadableCopyright</key> | ||
| + <string>Copyright © 2016 Hung Truong. All rights reserved.</string> | ||
| + <key>NSMainStoryboardFile</key> | ||
| + <string>Main</string> | ||
| + <key>NSPrincipalClass</key> | ||
| + <string>NSApplication</string> | ||
| +</dict> | ||
| +</plist> |
| @@ -0,0 +1,27 @@ | ||
| +// | ||
| +// ViewController.swift | ||
| +// TouchFart | ||
| +// | ||
| +// Created by Hung Truong on 10/27/16. | ||
| +// Copyright © 2016 Hung Truong. 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. | ||
| + } | ||
| + } | ||
| + | ||
| + | ||
| +} | ||
| + |
| @@ -0,0 +1,22 @@ | ||
| +<?xml version="1.0" encoding="UTF-8"?> | ||
| +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| +<plist version="1.0"> | ||
| +<dict> | ||
| + <key>CFBundleDevelopmentRegion</key> | ||
| + <string>en</string> | ||
| + <key>CFBundleExecutable</key> | ||
| + <string>$(EXECUTABLE_NAME)</string> | ||
| + <key>CFBundleIdentifier</key> | ||
| + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
| + <key>CFBundleInfoDictionaryVersion</key> | ||
| + <string>6.0</string> | ||
| + <key>CFBundleName</key> | ||
| + <string>$(PRODUCT_NAME)</string> | ||
| + <key>CFBundlePackageType</key> | ||
| + <string>BNDL</string> | ||
| + <key>CFBundleShortVersionString</key> | ||
| + <string>1.0</string> | ||
| + <key>CFBundleVersion</key> | ||
| + <string>1</string> | ||
| +</dict> | ||
| +</plist> |
| @@ -0,0 +1,36 @@ | ||
| +// | ||
| +// TouchFartTests.swift | ||
| +// TouchFartTests | ||
| +// | ||
| +// Created by Hung Truong on 10/27/16. | ||
| +// Copyright © 2016 Hung Truong. All rights reserved. | ||
| +// | ||
| + | ||
| +import XCTest | ||
| +@testable import TouchFart | ||
| + | ||
| +class TouchFartTests: XCTestCase { | ||
| + | ||
| + override func setUp() { | ||
| + super.setUp() | ||
| + // Put setup code here. This method is called before the invocation of each test method in the class. | ||
| + } | ||
| + | ||
| + override func tearDown() { | ||
| + // Put teardown code here. This method is called after the invocation of each test method in the class. | ||
| + super.tearDown() | ||
| + } | ||
| + | ||
| + func testExample() { | ||
| + // This is an example of a functional test case. | ||
| + // Use XCTAssert and related functions to verify your tests produce the correct results. | ||
| + } | ||
| + | ||
| + func testPerformanceExample() { | ||
| + // This is an example of a performance test case. | ||
| + self.measure { | ||
| + // Put the code you want to measure the time of here. | ||
| + } | ||
| + } | ||
| + | ||
| +} |
0 comments on commit
97fae58