Keyboard shortcuts
This commit is contained in:
15
App/Utilities/UIKeyCommand+ConvInit.swift
Normal file
15
App/Utilities/UIKeyCommand+ConvInit.swift
Normal file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// UIKeyCommand+ConvInit.swift
|
||||
// App
|
||||
//
|
||||
// Created by James Magahern on 9/21/20.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
extension UIKeyCommand {
|
||||
convenience init(modifiers: UIKeyModifierFlags, input: String, title: String, action: Selector) {
|
||||
self.init(input: input, modifierFlags: modifiers, action: action)
|
||||
self.title = title
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user