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