From 98200bce39e0b85f8c7e1e08ffc13a2e0bd63547 Mon Sep 17 00:00:00 2001 From: James Griffin Date: Mon, 31 Dec 2018 15:36:40 -0400 Subject: [PATCH] Initial window layout --- Jot.xcodeproj/project.pbxproj | 4 + Jot/Main.storyboard | 183 +++++++++++++++++++++++++++++++++- Jot/ViewController.swift | 22 ++++ 3 files changed, 208 insertions(+), 1 deletion(-) create mode 100644 Jot/ViewController.swift diff --git a/Jot.xcodeproj/project.pbxproj b/Jot.xcodeproj/project.pbxproj index f0db775..2610cb3 100644 --- a/Jot.xcodeproj/project.pbxproj +++ b/Jot.xcodeproj/project.pbxproj @@ -9,6 +9,7 @@ /* Begin PBXBuildFile section */ 821E160721D7ED3F00E2D71A /* TokenDeserializer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 821E160621D7ED3F00E2D71A /* TokenDeserializer.swift */; }; 821E162821DA9A3700E2D71A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 821E162721DA9A3700E2D71A /* Main.storyboard */; }; + 821E165621DAA54900E2D71A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 821E165521DAA54900E2D71A /* ViewController.swift */; }; 82CAF46A21D7D41800FED241 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82CAF46921D7D41800FED241 /* AppDelegate.swift */; }; 82CAF46C21D7D41C00FED241 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 82CAF46B21D7D41C00FED241 /* Assets.xcassets */; }; 82CAF47B21D7D41C00FED241 /* JotTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82CAF47A21D7D41C00FED241 /* JotTests.swift */; }; @@ -31,6 +32,7 @@ /* Begin PBXFileReference section */ 821E160621D7ED3F00E2D71A /* TokenDeserializer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TokenDeserializer.swift; sourceTree = ""; }; 821E162721DA9A3700E2D71A /* Main.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; + 821E165521DAA54900E2D71A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 82CAF46621D7D41800FED241 /* Jot.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Jot.app; sourceTree = BUILT_PRODUCTS_DIR; }; 82CAF46921D7D41800FED241 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 82CAF46B21D7D41C00FED241 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; @@ -89,6 +91,7 @@ 82CAF46921D7D41800FED241 /* AppDelegate.swift */, 82CAF46B21D7D41C00FED241 /* Assets.xcassets */, 821E162721DA9A3700E2D71A /* Main.storyboard */, + 821E165521DAA54900E2D71A /* ViewController.swift */, 82CAF47021D7D41C00FED241 /* Info.plist */, 82CAF47121D7D41C00FED241 /* Jot.entitlements */, ); @@ -235,6 +238,7 @@ 82CAF48D21D7D60100FED241 /* Header.swift in Sources */, 82CAF48B21D7D5B700FED241 /* Payload.swift in Sources */, 82CAF46A21D7D41800FED241 /* AppDelegate.swift in Sources */, + 821E165621DAA54900E2D71A /* ViewController.swift in Sources */, 82CAF48F21D7D81800FED241 /* Signature.swift in Sources */, 82CAF48821D7D56D00FED241 /* Jwt.swift in Sources */, ); diff --git a/Jot/Main.storyboard b/Jot/Main.storyboard index 9557dc0..3bf7292 100644 --- a/Jot/Main.storyboard +++ b/Jot/Main.storyboard @@ -704,10 +704,191 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Jot/ViewController.swift b/Jot/ViewController.swift new file mode 100644 index 0000000..87a02b8 --- /dev/null +++ b/Jot/ViewController.swift @@ -0,0 +1,22 @@ +// +// ViewController.swift +// Jot +// +// Created by James Griffin-Allwood on 2018-12-31. +// Copyright © 2018 James Griffin-Allwood. All rights reserved. +// + +import Foundation +import Cocoa + +class ViewController: NSViewController { + override func viewDidLoad() { + super.viewDidLoad() + } + + override var representedObject: Any? { + didSet { + // Update the view, if already loaded. + } + } +}