Fixes for null command
This commit is contained in:
@@ -105,7 +105,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|||||||
title: "Find on Page",
|
title: "Find on Page",
|
||||||
action: #selector(ShortcutResponder.findOnPage)
|
action: #selector(ShortcutResponder.findOnPage)
|
||||||
)
|
)
|
||||||
: UIKeyCommand()
|
: UIKeyCommand.null()
|
||||||
),
|
),
|
||||||
|
|
||||||
// Refresh
|
// Refresh
|
||||||
|
|||||||
@@ -7,7 +7,15 @@
|
|||||||
|
|
||||||
import UIKit
|
import UIKit
|
||||||
|
|
||||||
|
extension NSObject {
|
||||||
|
@objc fileprivate func _null() {}
|
||||||
|
}
|
||||||
|
|
||||||
extension UIKeyCommand {
|
extension UIKeyCommand {
|
||||||
|
public static func null() -> UIKeyCommand {
|
||||||
|
UIKeyCommand(modifiers: [], input: "", title: "", action: #selector(_null))
|
||||||
|
}
|
||||||
|
|
||||||
convenience init(modifiers: UIKeyModifierFlags, input: String, title: String, action: Selector) {
|
convenience init(modifiers: UIKeyModifierFlags, input: String, title: String, action: Selector) {
|
||||||
self.init(input: input, modifierFlags: modifiers, action: action)
|
self.init(input: input, modifierFlags: modifiers, action: action)
|
||||||
self.title = title
|
self.title = title
|
||||||
|
|||||||
@@ -791,10 +791,8 @@
|
|||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = "App/Supporting Files/SBrowser.entitlements";
|
CODE_SIGN_ENTITLEMENTS = "App/Supporting Files/SBrowser.entitlements";
|
||||||
CODE_SIGN_IDENTITY = "-";
|
CODE_SIGN_IDENTITY = "-";
|
||||||
CODE_SIGN_STYLE = Manual;
|
|
||||||
CURRENT_PROJECT_VERSION = 4;
|
CURRENT_PROJECT_VERSION = 4;
|
||||||
DEAD_CODE_STRIPPING = YES;
|
DEAD_CODE_STRIPPING = YES;
|
||||||
DEVELOPMENT_TEAM = DQQH5H6GBD;
|
|
||||||
INFOPLIST_FILE = "App/Supporting Files/Info.plist";
|
INFOPLIST_FILE = "App/Supporting Files/Info.plist";
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
LD_RUNPATH_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
@@ -820,10 +818,8 @@
|
|||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = "App/Supporting Files/SBrowser.entitlements";
|
CODE_SIGN_ENTITLEMENTS = "App/Supporting Files/SBrowser.entitlements";
|
||||||
CODE_SIGN_IDENTITY = "-";
|
CODE_SIGN_IDENTITY = "-";
|
||||||
CODE_SIGN_STYLE = Manual;
|
|
||||||
CURRENT_PROJECT_VERSION = 4;
|
CURRENT_PROJECT_VERSION = 4;
|
||||||
DEAD_CODE_STRIPPING = YES;
|
DEAD_CODE_STRIPPING = YES;
|
||||||
DEVELOPMENT_TEAM = DQQH5H6GBD;
|
|
||||||
INFOPLIST_FILE = "App/Supporting Files/Info.plist";
|
INFOPLIST_FILE = "App/Supporting Files/Info.plist";
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
LD_RUNPATH_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "1ADFF45B24C7DE53006DC7AE"
|
BlueprintIdentifier = "1ADFF45B24C7DE53006DC7AE"
|
||||||
BuildableName = "rossler attix.app"
|
BuildableName = "Attractor.app"
|
||||||
BlueprintName = "App"
|
BlueprintName = "App"
|
||||||
ReferencedContainer = "container:SBrowser.xcodeproj">
|
ReferencedContainer = "container:SBrowser.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "1ADFF45B24C7DE53006DC7AE"
|
BlueprintIdentifier = "1ADFF45B24C7DE53006DC7AE"
|
||||||
BuildableName = "rossler attix.app"
|
BuildableName = "Attractor.app"
|
||||||
BlueprintName = "App"
|
BlueprintName = "App"
|
||||||
ReferencedContainer = "container:SBrowser.xcodeproj">
|
ReferencedContainer = "container:SBrowser.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "1ADFF45B24C7DE53006DC7AE"
|
BlueprintIdentifier = "1ADFF45B24C7DE53006DC7AE"
|
||||||
BuildableName = "rossler attix.app"
|
BuildableName = "Attractor.app"
|
||||||
BlueprintName = "App"
|
BlueprintName = "App"
|
||||||
ReferencedContainer = "container:SBrowser.xcodeproj">
|
ReferencedContainer = "container:SBrowser.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
|||||||
Reference in New Issue
Block a user