INNER CODE UNIT · Swift
rebuildJumpWindows
mjrusso/scoot · Scoot/AppDelegate.swift:172
func rebuildJumpWindows() {
OSLog.main.log("Closing existing jump windows.")
for windowController in jumpWindowControllers {
closeJumpWindow(managedBy: windowController)
}
OSLog.main.log("Spawning new jump windows.")
for screen in NSScreen.screens {
spawnJumpWindow(on: screen)
}
OSLog.main.log("Finished spawning; logging updated state.")
OSLog.main.logDetailsForAllJumpWindows()
inputWindow.initializeCoreDataStructuresForGridBasedMovement()
}