From 057504709b4a35061ba75faaba75cc5e678dac35 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 2 Feb 2019 21:34:57 -0800 Subject: [PATCH] Start database window (a debugging thing). --- NetNewsWire.xcodeproj/project.pbxproj | 13 + .../DatabaseWindow/DatabaseWindow.storyboard | 285 ++++++++++++++++++ .../DatabaseWindowController.swift | 19 ++ 3 files changed, 317 insertions(+) create mode 100644 NetNewsWire/DatabaseWindow/DatabaseWindow.storyboard create mode 100644 NetNewsWire/DatabaseWindow/DatabaseWindowController.swift diff --git a/NetNewsWire.xcodeproj/project.pbxproj b/NetNewsWire.xcodeproj/project.pbxproj index 23601bb59..cfc4dc045 100644 --- a/NetNewsWire.xcodeproj/project.pbxproj +++ b/NetNewsWire.xcodeproj/project.pbxproj @@ -775,6 +775,8 @@ 842E45E21ED8C681000A8B52 /* KeyboardDelegateProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KeyboardDelegateProtocol.swift; sourceTree = ""; }; 842E45E41ED8C6B7000A8B52 /* MainWindowSplitView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MainWindowSplitView.swift; sourceTree = ""; }; 842E45E61ED8C747000A8B52 /* DB5.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = DB5.plist; path = NetNewsWire/Resources/DB5.plist; sourceTree = ""; }; + 842E5ED12206B1010012DBE1 /* DatabaseWindowController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatabaseWindowController.swift; sourceTree = ""; }; + 842E5ED42206B1190012DBE1 /* DatabaseWindow.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = DatabaseWindow.storyboard; sourceTree = ""; }; 843A3B5520311E7700BF76EC /* FeedListOutlineView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedListOutlineView.swift; sourceTree = ""; }; 84411E701FE5FBFA004B527F /* SmallIconProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SmallIconProvider.swift; sourceTree = ""; }; 8444C8F11FED81840051386C /* OPMLExporter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OPMLExporter.swift; sourceTree = ""; }; @@ -1127,6 +1129,16 @@ path = NetNewsWire/MainWindow; sourceTree = ""; }; + 842E5EC42206B0D60012DBE1 /* DatabaseWindow */ = { + isa = PBXGroup; + children = ( + 842E5ED42206B1190012DBE1 /* DatabaseWindow.storyboard */, + 842E5ED12206B1010012DBE1 /* DatabaseWindowController.swift */, + ); + name = DatabaseWindow; + path = NetNewsWire/DatabaseWindow; + sourceTree = ""; + }; 8444C9011FED81880051386C /* Exporters */ = { isa = PBXGroup; children = ( @@ -1423,6 +1435,7 @@ D5907D6F2004AB67005947E5 /* Scriptability */, D5558FD6200227E60066386B /* AppleEvents */, 848B937021C8C5540038DC0D /* CrashReporter */, + 842E5EC42206B0D60012DBE1 /* DatabaseWindow */, 849A97991ED9EFB6007D329B /* Resources */, 84F9EACF213660A100CF2DE4 /* NetNewsWireTests */, 840D617D2029031C009BC708 /* NetNewsWire-iOS */, diff --git a/NetNewsWire/DatabaseWindow/DatabaseWindow.storyboard b/NetNewsWire/DatabaseWindow/DatabaseWindow.storyboard new file mode 100644 index 000000000..b04b70530 --- /dev/null +++ b/NetNewsWire/DatabaseWindow/DatabaseWindow.storyboard @@ -0,0 +1,285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NetNewsWire/DatabaseWindow/DatabaseWindowController.swift b/NetNewsWire/DatabaseWindow/DatabaseWindowController.swift new file mode 100644 index 000000000..0d2b6c81c --- /dev/null +++ b/NetNewsWire/DatabaseWindow/DatabaseWindowController.swift @@ -0,0 +1,19 @@ +// +// DatabaseWindowController.swift +// NetNewsWire +// +// Created by Brent Simmons on 2/2/19. +// Copyright © 2019 Ranchero Software. All rights reserved. +// + +import Cocoa + +class DatabaseWindowController: NSWindowController { + + override func windowDidLoad() { + super.windowDidLoad() + + // Implement this method to handle any initialization after your window controller's window has been loaded from its nib file. + } + +}