Created
November 30, 2019 17:15
-
-
Save jhoughjr/f95502c2396e887f515610b32e8459c3 to your computer and use it in GitHub Desktop.
More Apple Greatness
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func show() { | |
SwiftyBeaver.info("show") | |
restoreCollapsedState() | |
restoreAttachedState() | |
orderFrontRegardless() | |
if let cont = contentViewController as? NSTabViewController { | |
SwiftyBeaver.info("\(cont.isViewLoaded)") | |
if let ctx = cont.tabViewItems[0].viewController as? ContextViewController { | |
SwiftyBeaver.info("context view \(ctx.view)") | |
}else { | |
SwiftyBeaver.info("\(cont.tabViewItems[0].viewController)") | |
} | |
}else { | |
SwiftyBeaver.info("was not tabvc \(contentViewController)") | |
} | |
SwiftyBeaver.info("done") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:08:50.340 π DEBUG AppDelegate.applicationDidFinishLaunching():40 - resetting logifle. Optional(file:///Users/jimmyhoughjr/Documents/Ghostnote%202/log.txt) | |
11:08:50.365 π DEBUG AppDelegate.applicationDidFinishLaunching():45 - cleared log file at Optional(file:///Users/jimmyhoughjr/Documents/Ghostnote%202/log.txt) | |
11:08:50.365 π DEBUG AppDelegate.applicationDidFinishLaunching():51 - Logging started. | |
11:08:50.374 π INFO Storage.mainContext():155 - using [<NSSQLCore: 0x600003e19800> (URL: file:///Users/jimmyhoughjr/Documents/Ghostnote%202/database/Ghostnote%202.sqlite)] | |
11:08:50.375 π INFO GhostEngineClient.engineFound():239 - /Applications/Ghostnote2.app/Contents/Resources/ghostengine.app | |
11:08:50.380 π INFO GhostEngineClient.engineFound():239 - /Applications/Ghostnote2.app/Contents/Resources/ghostengine.app | |
11:08:50.380 π INFO GhostEngineClient.launchGhostEngineIfNeeded():116 - found engine | |
11:08:50.380 π INFO GhostEngineClient.launchGhostEngineIfNeeded():121 - Found ghostengine process (32432) running. | |
11:08:50.381 π INFO GhostEngineClient.start():134 - Connecting to egnine @ ws://localhost:9000... | |
11:08:50.384 π INFO GhostEngineClient.webSocketClient():207 - Connected to ghostengine @ ws://localhost:9000 | |
11:08:50.384 π INFO GhostEngineClient.connected():41 - connected = true | |
11:08:50.430 π DEBUG GhostEngineClient.addObserver():150 - Added <Ghostnote2.ContextViewController: 0x10270d5e0> | |
11:08:50.435 π INFO ContextViewController.viewDidLoad():257 - LOADED CONTEXT VIEW (0.0, 0.0, 250.0, 300.0) | |
11:08:50.443 π INFO GNTabController.viewDidLoad():23 - [<NSTabViewItem 'Ghostnote2.ContextViewController': 0x600003004b40>, <NSTabViewItem 'Ghostnote2.ShortcutViewController': 0x600003004ab0>, <NSTabViewItem 'Support': 0x600003004bd0>] | |
11:08:50.453 π INFO GNTabController.awakeFromNib():18 - [<NSTabViewItem 'Ghostnote2.ContextViewController': 0x600003004b40>, <NSTabViewItem 'Ghostnote2.ShortcutViewController': 0x600003004ab0>, <NSTabViewItem 'Support': 0x600003004bd0>] | |
11:08:50.454 π INFO GhostNoteWindow.awakeFromNib():255 - expandedSize = (270.0, 348.0) | |
11:08:50.455 π INFO GNStatusItem.create():39 - creating attached to <NSWindowController: 0x60000260d140> | |
11:08:50.463 π INFO GhostEngineClient.engineFound():239 - /Applications/Ghostnote2.app/Contents/Resources/ghostengine.app | |
11:08:50.463 π INFO GNStatusItem.create():53 - GNStatusItem initialized. | |
11:08:50.463 π INFO GNStatusItem.create():54 - context Optional(<NSWindowController: 0x60000260d140>) | |
browser nil | |
statusItem Optional(<NSStatusItem: 0x600002135630>) | |
11:08:50.499 π INFO AppDelegate.setupActualApp():92 - Optional(true) | |
11:08:50.499 π INFO AppDelegate.setupActualApp():93 - Optional(<Ghostnote2.GNTabController: 0x600003308e60>) | |
11:08:53.148 π INFO GNStatusItem.toggleContextWindow():75 - toggle context window | |
11:08:53.148 π INFO GhostNoteWindow.show():169 - show | |
11:08:53.148 π INFO GhostNoteWindow.restoreCollapsedState():218 - frefreshing collapsed state | |
11:08:53.149 π INFO GhostNoteWindow.expandToHeight():362 - exapnding | |
11:08:53.149 π INFO GhostNoteWindow.expandToHeight():369 - new frame = (878.0, 530.0, 270.0, 348.0) | |
11:08:53.153 π INFO GhostNoteWindow.restoreAttachedState():230 - restoring attached state | |
11:08:53.153 π INFO GhostNoteWindow.attached():86 - attached | |
2019-11-30 11:08:53.158302-0600 Ghostnote2[40752:517290] Metal API Validation Enabled | |
11:08:53.224 π INFO ContextViewController.viewWillAppear():188 - | |
11:08:53.228 π INFO ContextViewController.viewDidAppear():203 - | |
11:08:53.228 π INFO GhostNoteWindow.show():176 - true | |
11:08:53.228 π INFO GhostNoteWindow.show():178 - context view <NSView: 0x10350f5b0> | |
11:08:53.228 π INFO GhostNoteWindow.show():185 - done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:11:03.016 [38;5;35mDEBUG[0m AppDelegate.applicationDidFinishLaunching():51 - Logging started. | |
11:11:03.022 [38;5;38mINFO[0m Storage.mainContext():155 - using [<NSSQLCore: 0x6000022b1300> (URL: file:///Users/jimmyhoughjr/Documents/Ghostnote%202/database/Ghostnote%202.sqlite)] | |
11:11:03.023 [38;5;38mINFO[0m GhostEngineClient.engineFound():239 - /Applications/Ghostnote2.app/Contents/Resources/ghostengine.app | |
11:11:03.028 [38;5;38mINFO[0m GhostEngineClient.engineFound():239 - /Applications/Ghostnote2.app/Contents/Resources/ghostengine.app | |
11:11:03.028 [38;5;38mINFO[0m GhostEngineClient.launchGhostEngineIfNeeded():116 - found engine | |
11:11:03.028 [38;5;38mINFO[0m GhostEngineClient.launchGhostEngineIfNeeded():121 - Found ghostengine process (32432) running. | |
11:11:03.028 [38;5;38mINFO[0m GhostEngineClient.start():134 - Connecting to egnine @ ws://localhost:9000... | |
11:11:03.030 [38;5;38mINFO[0m GhostEngineClient.webSocketClient():207 - Connected to ghostengine @ ws://localhost:9000 | |
11:11:03.030 [38;5;38mINFO[0m GhostEngineClient.connected():41 - connected = true | |
11:11:03.043 [38;5;38mINFO[0m GhostNoteWindow.awakeFromNib():255 - expandedSize = (270.0, 348.0) | |
11:11:03.045 [38;5;38mINFO[0m GNTabController.awakeFromNib():18 - [<NSTabViewItem 'Ghostnote2.ContextViewController': 0x600002ca42d0>, <NSTabViewItem 'Ghostnote2.ShortcutViewController': 0x600002ca43f0>, <NSTabViewItem 'Support': 0x600002ca4360>] | |
11:11:03.045 [38;5;38mINFO[0m GNStatusItem.create():39 - creating attached to <NSWindowController: 0x600003aa45a0> | |
11:11:03.052 [38;5;38mINFO[0m GhostEngineClient.engineFound():239 - /Applications/Ghostnote2.app/Contents/Resources/ghostengine.app | |
11:11:03.052 [38;5;38mINFO[0m GNStatusItem.create():53 - GNStatusItem initialized. | |
11:11:03.052 [38;5;38mINFO[0m GNStatusItem.create():54 - context Optional(<NSWindowController: 0x600003aa45a0>) | |
browser nil | |
statusItem Optional(<NSStatusItem: 0x600003daa4e0>) | |
11:11:03.058 [38;5;38mINFO[0m AppDelegate.setupActualApp():92 - Optional(true) | |
11:11:03.058 [38;5;38mINFO[0m AppDelegate.setupActualApp():93 - Optional(<Ghostnote2.GNTabController: 0x600002fa2940>) | |
11:11:05.168 [38;5;38mINFO[0m GNStatusItem.toggleContextWindow():75 - toggle context window | |
11:11:05.169 [38;5;38mINFO[0m GhostNoteWindow.show():169 - show | |
11:11:05.169 [38;5;38mINFO[0m GhostNoteWindow.restoreCollapsedState():218 - frefreshing collapsed state | |
11:11:05.169 [38;5;38mINFO[0m GhostNoteWindow.expandToHeight():362 - exapnding | |
11:11:05.169 [38;5;38mINFO[0m GhostNoteWindow.expandToHeight():369 - new frame = (868.0, 181.0, 0.0, 348.0) | |
11:11:05.169 [38;5;38mINFO[0m GhostNoteWindow.restoreAttachedState():230 - restoring attached state | |
11:11:05.169 [38;5;38mINFO[0m GhostNoteWindow.attached():86 - attached | |
11:11:05.173 [38;5;38mINFO[0m GhostNoteWindow.show():176 - true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As the logs show, for some very non obvious reason, anything past line 176 doesn't get executed in release build.
Interestingly, debug builds that are archived exhibit the same behavior.
I have no idea wtf is causing this.
HALP!