From cc6b25aab0939838f0b5f88ea589151436f41a10 Mon Sep 17 00:00:00 2001 From: James Magahern Date: Mon, 28 Mar 2022 18:27:28 -0700 Subject: [PATCH] Rename project to Attractor --- App/SceneDelegate.swift | 4 ++-- App/Settings/SettingsViewController.swift | 2 +- App/Supporting Files/Info.plist | 4 ++-- .../SBRProcessBundleBridge.m | 4 +++- SBrowser.xcodeproj/project.pbxproj | 22 +++++++++---------- 5 files changed, 19 insertions(+), 17 deletions(-) diff --git a/App/SceneDelegate.swift b/App/SceneDelegate.swift index 605d48e..5b2a845 100644 --- a/App/SceneDelegate.swift +++ b/App/SceneDelegate.swift @@ -8,8 +8,8 @@ import UIKit public enum SessionActivityType: String { - case BrowserWindow = "net.buzzert.rossler-attix.browser" - case SettingsWindow = "net.buzzert.rossler-attix.settings" + case BrowserWindow = "net.buzzert.attractor.browser" + case SettingsWindow = "net.buzzert.attractor.settings" } class SceneDelegate: UIResponder, UIWindowSceneDelegate { diff --git a/App/Settings/SettingsViewController.swift b/App/Settings/SettingsViewController.swift index 0501f8b..9584c74 100644 --- a/App/Settings/SettingsViewController.swift +++ b/App/Settings/SettingsViewController.swift @@ -20,7 +20,7 @@ protocol NSToolbarDelegate {} class SettingsViewController: UITabBarController, NSToolbarDelegate { #if targetEnvironment(macCatalyst) - let toolbar = NSToolbar(identifier: NSToolbar.Identifier("net.buzzert.rossler-attix.preferences-toolbar")) + let toolbar = NSToolbar(identifier: NSToolbar.Identifier("net.buzzert.attractor.preferences-toolbar")) #endif init(windowScene: UIWindowScene) { diff --git a/App/Supporting Files/Info.plist b/App/Supporting Files/Info.plist index e4179f1..2e42c72 100644 --- a/App/Supporting Files/Info.plist +++ b/App/Supporting Files/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - rössler\\attix + $(PRODUCT_NAME) CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -24,7 +24,7 @@ CFBundleTypeRole Viewer CFBundleURLName - net.buzzert.rosslerattix + net.buzzert.attractor CFBundleURLSchemes http diff --git a/App/Web Process Bundle Bridge/SBRProcessBundleBridge.m b/App/Web Process Bundle Bridge/SBRProcessBundleBridge.m index 96327ed..894a545 100644 --- a/App/Web Process Bundle Bridge/SBRProcessBundleBridge.m +++ b/App/Web Process Bundle Bridge/SBRProcessBundleBridge.m @@ -113,7 +113,9 @@ // Instantiate web view WKWebView *webView = [[WKWebView alloc] initWithFrame:CGRectZero configuration:webViewConfiguration]; - webView._findInteractionEnabled = YES; + if ([webView respondsToSelector:@selector(_setFindInteractionEnabled:)]) { + webView._findInteractionEnabled = YES; + } // Configure proxy interface (interface to remote web process) _webProcessProxy = [[webView _remoteObjectRegistry] remoteObjectProxyWithInterface:[self _webProcessProxyInterface]]; diff --git a/SBrowser.xcodeproj/project.pbxproj b/SBrowser.xcodeproj/project.pbxproj index 4eecaf2..3ef6495 100644 --- a/SBrowser.xcodeproj/project.pbxproj +++ b/SBrowser.xcodeproj/project.pbxproj @@ -116,7 +116,7 @@ 1AD3103F252545BF00A4A952 /* FindOnPageView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FindOnPageView.swift; sourceTree = ""; }; 1AD3104225254FB900A4A952 /* FindOnPageViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FindOnPageViewController.swift; sourceTree = ""; }; 1AD310442525586B00A4A952 /* DocumentControlItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DocumentControlItemView.swift; sourceTree = ""; }; - 1ADFF45C24C7DE53006DC7AE /* rossler attix.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "rossler attix.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 1ADFF45C24C7DE53006DC7AE /* Attractor.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Attractor.app; sourceTree = BUILT_PRODUCTS_DIR; }; 1ADFF45F24C7DE53006DC7AE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 1ADFF46124C7DE53006DC7AE /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; 1ADFF46824C7DE54006DC7AE /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; @@ -269,7 +269,7 @@ 1ADFF45D24C7DE53006DC7AE /* Products */ = { isa = PBXGroup; children = ( - 1ADFF45C24C7DE53006DC7AE /* rossler attix.app */, + 1ADFF45C24C7DE53006DC7AE /* Attractor.app */, 1ADFF48124C8C12F006DC7AE /* SBrowserProcessBundle.bundle */, ); name = Products; @@ -486,7 +486,7 @@ ); name = App; productName = SBrowser; - productReference = 1ADFF45C24C7DE53006DC7AE /* rossler attix.app */; + productReference = 1ADFF45C24C7DE53006DC7AE /* Attractor.app */; productType = "com.apple.product-type.application"; }; 1ADFF48024C8C12F006DC7AE /* SBrowserProcessBundle */ = { @@ -792,7 +792,7 @@ CODE_SIGN_ENTITLEMENTS = "App/Supporting Files/SBrowser.entitlements"; CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 3; + CURRENT_PROJECT_VERSION = 4; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = DQQH5H6GBD; INFOPLIST_FILE = "App/Supporting Files/Info.plist"; @@ -800,9 +800,9 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 3.0; - PRODUCT_BUNDLE_IDENTIFIER = net.buzzert.rosslerattix; - PRODUCT_NAME = "rossler attix"; + MARKETING_VERSION = 4.0; + PRODUCT_BUNDLE_IDENTIFIER = net.buzzert.attractor; + PRODUCT_NAME = Attractor; SUPPORTS_MACCATALYST = YES; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "App/Supporting Files/SBrowser-Bridging-Header.h"; @@ -821,7 +821,7 @@ CODE_SIGN_ENTITLEMENTS = "App/Supporting Files/SBrowser.entitlements"; CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 3; + CURRENT_PROJECT_VERSION = 4; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = DQQH5H6GBD; INFOPLIST_FILE = "App/Supporting Files/Info.plist"; @@ -829,9 +829,9 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 3.0; - PRODUCT_BUNDLE_IDENTIFIER = net.buzzert.rosslerattix; - PRODUCT_NAME = "rossler attix"; + MARKETING_VERSION = 4.0; + PRODUCT_BUNDLE_IDENTIFIER = net.buzzert.attractor; + PRODUCT_NAME = Attractor; SUPPORTS_MACCATALYST = YES; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_OBJC_BRIDGING_HEADER = "App/Supporting Files/SBrowser-Bridging-Header.h";