INNER CODE UNIT · Swift

applicationDidResignActive

mjrusso/scoot · Scoot/AppDelegate.swift:152

    func applicationDidResignActive(_ notification: Notification) {
        #if DEBUG
        OSLog.main.debug("AppDelegate: applicationDidResignActive")
        #endif
    }

    // MARK: Handling Screen Changes

    func spawnJumpWindow(on screen: NSScreen) {
        let controller = JumpWindowController.spawn(on: screen)
        jumpWindowControllers.append(controller)
    }

    func closeJumpWindow(managedBy controller: JumpWindowController) {
        controller.close()
        jumpWindowControllers.removeAll(where: {
            $0 == controller
        })

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…