Keyboard shortcuts
This commit is contained in:
29
App/KeyboardShortcuts.swift
Normal file
29
App/KeyboardShortcuts.swift
Normal file
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// KeyboardShortcuts.swift
|
||||
// App
|
||||
//
|
||||
// Created by James Magahern on 9/21/20.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
@objc
|
||||
protocol ShortcutResponder: class {
|
||||
@objc
|
||||
optional func focusURLBar(_ sender: Any?)
|
||||
|
||||
@objc
|
||||
optional func goBack(_ sender: Any?)
|
||||
|
||||
@objc
|
||||
optional func goForward(_ sender: Any?)
|
||||
|
||||
@objc
|
||||
optional func createTab(_ sender: Any?)
|
||||
|
||||
@objc
|
||||
optional func previousTab(_ sender: Any?)
|
||||
|
||||
@objc
|
||||
optional func nextTab(_ sender: Any?)
|
||||
}
|
||||
Reference in New Issue
Block a user