INNER CODE UNIT · Swift
bringToForeground
mjrusso/scoot · Scoot/AppDelegate.swift:324
func bringToForeground(using jumpMode: JumpMode) {
inputWindow.activeJumpMode = jumpMode
bringToForeground()
}
// MARK: Deactivation
func bringToBackground() {
NSApp.hide(self)
}
// MARK: Actions
@IBAction func hidePressed(_ sender: NSMenuItem) {
bringToBackground()
}
@IBAction func useElementBasedNavigationPressed(_ sender: NSMenuItem) {