diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..d98bfb2 Binary files /dev/null and b/.DS_Store differ diff --git a/wifiname/.DS_Store b/wifiname/.DS_Store new file mode 100644 index 0000000..0582485 Binary files /dev/null and b/wifiname/.DS_Store differ diff --git a/wifiname/wifiname.xcodeproj/project.pbxproj b/wifiname/Wifilicious.xcodeproj/project.pbxproj similarity index 60% rename from wifiname/wifiname.xcodeproj/project.pbxproj rename to wifiname/Wifilicious.xcodeproj/project.pbxproj index 120243d..f8ce150 100644 --- a/wifiname/wifiname.xcodeproj/project.pbxproj +++ b/wifiname/Wifilicious.xcodeproj/project.pbxproj @@ -3,24 +3,31 @@ archiveVersion = 1; classes = { }; - objectVersion = 48; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ - 41076D351FF3EA1900A16B13 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 41076D341FF3EA1900A16B13 /* AppDelegate.swift */; }; - 41076D371FF3EA1900A16B13 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 41076D361FF3EA1900A16B13 /* ViewController.swift */; }; + 000046482BF619EB00229202 /* Authorization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 000046442BF619EA00229202 /* Authorization.swift */; }; + 000046492BF619EB00229202 /* SSID.swift in Sources */ = {isa = PBXBuildFile; fileRef = 000046452BF619EA00229202 /* SSID.swift */; }; + 0000464B2BF619EB00229202 /* Visibility.swift in Sources */ = {isa = PBXBuildFile; fileRef = 000046472BF619EB00229202 /* Visibility.swift */; }; + 0000F6432BFA3D4D00CB23DB /* Menu.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0000F6422BFA3D4D00CB23DB /* Menu.swift */; }; + 0025E3E32BF60F88005AEF82 /* Prompt.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0025E3E22BF60F88005AEF82 /* Prompt.swift */; }; + 00E3959E2BF59A7B006D74EB /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 00E3959D2BF59A7B006D74EB /* Credits.rtf */; }; + 41076D351FF3EA1900A16B13 /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = 41076D341FF3EA1900A16B13 /* App.swift */; }; 41076D391FF3EA1900A16B13 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 41076D381FF3EA1900A16B13 /* Assets.xcassets */; }; - 41076D3C1FF3EA1900A16B13 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 41076D3A1FF3EA1900A16B13 /* Main.storyboard */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 41076D311FF3EA1900A16B13 /* wifiname.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = wifiname.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 41076D341FF3EA1900A16B13 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 41076D361FF3EA1900A16B13 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 000046442BF619EA00229202 /* Authorization.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Authorization.swift; sourceTree = ""; }; + 000046452BF619EA00229202 /* SSID.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SSID.swift; sourceTree = ""; }; + 000046472BF619EB00229202 /* Visibility.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Visibility.swift; sourceTree = ""; }; + 0000F6422BFA3D4D00CB23DB /* Menu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Menu.swift; sourceTree = ""; }; + 0025E3E22BF60F88005AEF82 /* Prompt.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Prompt.swift; sourceTree = ""; }; + 00E3959D2BF59A7B006D74EB /* Credits.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = Credits.rtf; sourceTree = ""; }; + 41076D311FF3EA1900A16B13 /* Wifilicious.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Wifilicious.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 41076D341FF3EA1900A16B13 /* App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = ""; }; 41076D381FF3EA1900A16B13 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 41076D3B1FF3EA1900A16B13 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 41076D3D1FF3EA1900A16B13 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 41076D3E1FF3EA1900A16B13 /* wifiname.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = wifiname.entitlements; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -37,7 +44,7 @@ 41076D281FF3EA1900A16B13 = { isa = PBXGroup; children = ( - 41076D331FF3EA1900A16B13 /* wifiname */, + 41076D331FF3EA1900A16B13 /* Wifilicious */, 41076D321FF3EA1900A16B13 /* Products */, ); sourceTree = ""; @@ -45,30 +52,33 @@ 41076D321FF3EA1900A16B13 /* Products */ = { isa = PBXGroup; children = ( - 41076D311FF3EA1900A16B13 /* wifiname.app */, + 41076D311FF3EA1900A16B13 /* Wifilicious.app */, ); name = Products; sourceTree = ""; }; - 41076D331FF3EA1900A16B13 /* wifiname */ = { + 41076D331FF3EA1900A16B13 /* Wifilicious */ = { isa = PBXGroup; children = ( - 41076D341FF3EA1900A16B13 /* AppDelegate.swift */, - 41076D361FF3EA1900A16B13 /* ViewController.swift */, + 000046442BF619EA00229202 /* Authorization.swift */, + 000046452BF619EA00229202 /* SSID.swift */, + 000046472BF619EB00229202 /* Visibility.swift */, + 0025E3E22BF60F88005AEF82 /* Prompt.swift */, + 41076D341FF3EA1900A16B13 /* App.swift */, 41076D381FF3EA1900A16B13 /* Assets.xcassets */, - 41076D3A1FF3EA1900A16B13 /* Main.storyboard */, 41076D3D1FF3EA1900A16B13 /* Info.plist */, - 41076D3E1FF3EA1900A16B13 /* wifiname.entitlements */, + 00E3959D2BF59A7B006D74EB /* Credits.rtf */, + 0000F6422BFA3D4D00CB23DB /* Menu.swift */, ); - path = wifiname; + path = Wifilicious; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 41076D301FF3EA1900A16B13 /* wifiname */ = { + 41076D301FF3EA1900A16B13 /* Wifilicious */ = { isa = PBXNativeTarget; - buildConfigurationList = 41076D411FF3EA1900A16B13 /* Build configuration list for PBXNativeTarget "wifiname" */; + buildConfigurationList = 41076D411FF3EA1900A16B13 /* Build configuration list for PBXNativeTarget "Wifilicious" */; buildPhases = ( 41076D2D1FF3EA1900A16B13 /* Sources */, 41076D2E1FF3EA1900A16B13 /* Frameworks */, @@ -78,9 +88,9 @@ ); dependencies = ( ); - name = wifiname; + name = Wifilicious; productName = wifiname; - productReference = 41076D311FF3EA1900A16B13 /* wifiname.app */; + productReference = 41076D311FF3EA1900A16B13 /* Wifilicious.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -89,12 +99,14 @@ 41076D291FF3EA1900A16B13 /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 0920; + LastUpgradeCheck = 1540; ORGANIZATIONNAME = Clarkio; TargetAttributes = { 41076D301FF3EA1900A16B13 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1540; ProvisioningStyle = Manual; SystemCapabilities = { com.apple.Sandbox = { @@ -104,7 +116,7 @@ }; }; }; - buildConfigurationList = 41076D2C1FF3EA1900A16B13 /* Build configuration list for PBXProject "wifiname" */; + buildConfigurationList = 41076D2C1FF3EA1900A16B13 /* Build configuration list for PBXProject "Wifilicious" */; compatibilityVersion = "Xcode 8.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -117,7 +129,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 41076D301FF3EA1900A16B13 /* wifiname */, + 41076D301FF3EA1900A16B13 /* Wifilicious */, ); }; /* End PBXProject section */ @@ -128,7 +140,7 @@ buildActionMask = 2147483647; files = ( 41076D391FF3EA1900A16B13 /* Assets.xcassets in Resources */, - 41076D3C1FF3EA1900A16B13 /* Main.storyboard in Resources */, + 00E3959E2BF59A7B006D74EB /* Credits.rtf in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -139,24 +151,17 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 41076D371FF3EA1900A16B13 /* ViewController.swift in Sources */, - 41076D351FF3EA1900A16B13 /* AppDelegate.swift in Sources */, + 0000F6432BFA3D4D00CB23DB /* Menu.swift in Sources */, + 000046492BF619EB00229202 /* SSID.swift in Sources */, + 0000464B2BF619EB00229202 /* Visibility.swift in Sources */, + 000046482BF619EB00229202 /* Authorization.swift in Sources */, + 41076D351FF3EA1900A16B13 /* App.swift in Sources */, + 0025E3E32BF60F88005AEF82 /* Prompt.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ -/* Begin PBXVariantGroup section */ - 41076D3A1FF3EA1900A16B13 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 41076D3B1FF3EA1900A16B13 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - /* Begin XCBuildConfiguration section */ 41076D3F1FF3EA1900A16B13 /* Debug */ = { isa = XCBuildConfiguration; @@ -172,6 +177,7 @@ CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; @@ -179,19 +185,23 @@ CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "Developer ID Application"; + CODE_SIGN_IDENTITY = "Apple Development"; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -206,10 +216,10 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx10.13; + SDKROOT = macosx; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; }; @@ -229,6 +239,7 @@ CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; @@ -236,19 +247,23 @@ CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "Developer ID Application"; + CODE_SIGN_IDENTITY = "Apple Development"; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -257,11 +272,12 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; ONLY_ACTIVE_ARCH = NO; - SDKROOT = macosx10.13; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; }; name = Release; }; @@ -269,16 +285,25 @@ isa = XCBuildConfiguration; buildSettings = { ARCHS = "$(ARCHS_STANDARD)"; - CODE_SIGN_IDENTITY = ""; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; + CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; + DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = wifiname/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + INFOPLIST_FILE = Wifilicious/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = Wifilicious; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 13.0; PRODUCT_BUNDLE_IDENTIFIER = "com.clarkio.wifiname-0.2.0"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -286,24 +311,33 @@ isa = XCBuildConfiguration; buildSettings = { ARCHS = "$(ARCHS_STANDARD)"; - CODE_SIGN_IDENTITY = ""; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; + CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; + DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = wifiname/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + INFOPLIST_FILE = Wifilicious/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = Wifilicious; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 13.0; ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = "com.clarkio.wifiname-0.2.0"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 41076D2C1FF3EA1900A16B13 /* Build configuration list for PBXProject "wifiname" */ = { + 41076D2C1FF3EA1900A16B13 /* Build configuration list for PBXProject "Wifilicious" */ = { isa = XCConfigurationList; buildConfigurations = ( 41076D3F1FF3EA1900A16B13 /* Debug */, @@ -312,7 +346,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 41076D411FF3EA1900A16B13 /* Build configuration list for PBXNativeTarget "wifiname" */ = { + 41076D411FF3EA1900A16B13 /* Build configuration list for PBXNativeTarget "Wifilicious" */ = { isa = XCConfigurationList; buildConfigurations = ( 41076D421FF3EA1900A16B13 /* Debug */, diff --git a/wifiname/wifiname.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/wifiname/Wifilicious.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 53% rename from wifiname/wifiname.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to wifiname/Wifilicious.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 0a50a4a..7b8a8c8 100644 --- a/wifiname/wifiname.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/wifiname/Wifilicious.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:/Users/dhanish/projects/macos-wifiname/wifiname/Wifilicious.xcodeproj"> diff --git a/wifiname/wifiname/wifiname.entitlements b/wifiname/Wifilicious.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 72% rename from wifiname/wifiname/wifiname.entitlements rename to wifiname/Wifilicious.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist index 0c67376..18d9810 100644 --- a/wifiname/wifiname/wifiname.entitlements +++ b/wifiname/Wifilicious.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -1,5 +1,8 @@ - + + IDEDidComputeMac32BitWarning + + diff --git a/wifiname/wifiname.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/wifiname/Wifilicious.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from wifiname/wifiname.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to wifiname/Wifilicious.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/wifiname/wifiname.xcodeproj/xcshareddata/xcschemes/wifiname.xcscheme b/wifiname/Wifilicious.xcodeproj/xcshareddata/xcschemes/wifiname.xcscheme similarity index 78% rename from wifiname/wifiname.xcodeproj/xcshareddata/xcschemes/wifiname.xcscheme rename to wifiname/Wifilicious.xcodeproj/xcshareddata/xcschemes/wifiname.xcscheme index e2967f0..534e6ee 100644 --- a/wifiname/wifiname.xcodeproj/xcshareddata/xcschemes/wifiname.xcscheme +++ b/wifiname/Wifilicious.xcodeproj/xcshareddata/xcschemes/wifiname.xcscheme @@ -1,7 +1,7 @@ + LastUpgradeVersion = "1540" + version = "1.8"> @@ -15,9 +15,9 @@ + BuildableName = "Wifilicious.app" + BlueprintName = "Wifilicious" + ReferencedContainer = "container:Wifilicious.xcodeproj"> @@ -26,28 +26,24 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - language = "" shouldUseLaunchSchemeArgsEnv = "YES"> - - + BuildableName = "Wifilicious.app" + BlueprintName = "Wifilicious" + ReferencedContainer = "container:Wifilicious.xcodeproj"> - - + + + BuildableName = "Wifilicious.app" + BlueprintName = "Wifilicious" + ReferencedContainer = "container:Wifilicious.xcodeproj"> - - @@ -83,9 +77,9 @@ + BuildableName = "Wifilicious.app" + BlueprintName = "Wifilicious" + ReferencedContainer = "container:Wifilicious.xcodeproj"> diff --git a/wifiname/Wifilicious/App.swift b/wifiname/Wifilicious/App.swift new file mode 100644 index 0000000..9ab1d4e --- /dev/null +++ b/wifiname/Wifilicious/App.swift @@ -0,0 +1,47 @@ +// +// App.swift +// wifiname +// +// Created by Brian Clark on 12/27/17. +// Copyright © 2024 Clarkio. All rights reserved. +// www.clarkio.com + +import SwiftUI +import CoreWLAN +import CoreLocation + +@main +struct Wifiname: App { + @NSApplicationDelegateAdaptor(AppDelegate.self) var appDelegate + var body: some Scene { + Settings { + EmptyView() + } + } +} + +class AppDelegate: NSObject, NSApplicationDelegate { + + static private (set) var instance: AppDelegate? + + lazy var statusBarItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength) + let locationManager = CLLocationManager() + let wifiClient = CWWiFiClient.shared() + var visible = true + + let prompt = Prompt() + + func applicationDidFinishLaunching(_ aNotification: Notification) { + locationManager.delegate = self + AppDelegate.instance = self + checkAuthorizationStatus() + } + + func applicationWillTerminate(_ aNotification: Notification) { + do { + try wifiClient.stopMonitoringEvent(with: .ssidDidChange) + } catch { + print(error.localizedDescription) + } + } +} diff --git a/wifiname/Wifilicious/Assets.xcassets/.DS_Store b/wifiname/Wifilicious/Assets.xcassets/.DS_Store new file mode 100644 index 0000000..fc04a30 Binary files /dev/null and b/wifiname/Wifilicious/Assets.xcassets/.DS_Store differ diff --git a/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/128x128.png b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/128x128.png new file mode 100644 index 0000000..fb2ba07 Binary files /dev/null and b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/128x128.png differ diff --git a/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/128x128@2x.png b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/128x128@2x.png new file mode 100644 index 0000000..99e3713 Binary files /dev/null and b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/128x128@2x.png differ diff --git a/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/16x16.png b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/16x16.png new file mode 100644 index 0000000..d22b501 Binary files /dev/null and b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/16x16.png differ diff --git a/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/16x16@2x.png b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/16x16@2x.png new file mode 100644 index 0000000..20666f2 Binary files /dev/null and b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/16x16@2x.png differ diff --git a/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/256x256.png b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/256x256.png new file mode 100644 index 0000000..b424a29 Binary files /dev/null and b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/256x256.png differ diff --git a/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/256x256@2x 1.png b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/256x256@2x 1.png new file mode 100644 index 0000000..a4bebf3 Binary files /dev/null and b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/256x256@2x 1.png differ diff --git a/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/32x32.png b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/32x32.png new file mode 100644 index 0000000..442b1aa Binary files /dev/null and b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/32x32.png differ diff --git a/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/32x32@2x.png b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/32x32@2x.png new file mode 100644 index 0000000..a8609ca Binary files /dev/null and b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/32x32@2x.png differ diff --git a/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/512x512.png b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/512x512.png new file mode 100644 index 0000000..53204a0 Binary files /dev/null and b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/512x512.png differ diff --git a/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/512x512@2x.png b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/512x512@2x.png new file mode 100644 index 0000000..ddb8eb2 Binary files /dev/null and b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/512x512@2x.png differ diff --git a/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/Contents.json b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..8c231b5 --- /dev/null +++ b/wifiname/Wifilicious/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,68 @@ +{ + "images" : [ + { + "filename" : "16x16.png", + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "filename" : "16x16@2x.png", + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "filename" : "32x32.png", + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "filename" : "32x32@2x.png", + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "filename" : "128x128.png", + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "filename" : "128x128@2x.png", + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "filename" : "256x256.png", + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "filename" : "256x256@2x 1.png", + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "filename" : "512x512.png", + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "filename" : "512x512@2x.png", + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/wifiname/Wifilicious/Assets.xcassets/Contents.json b/wifiname/Wifilicious/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/wifiname/Wifilicious/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/wifiname/Wifilicious/Assets.xcassets/connected.imageset/Contents.json b/wifiname/Wifilicious/Assets.xcassets/connected.imageset/Contents.json new file mode 100644 index 0000000..0f57d44 --- /dev/null +++ b/wifiname/Wifilicious/Assets.xcassets/connected.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "connected.svg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/wifiname/Wifilicious/Assets.xcassets/connected.imageset/connected.svg b/wifiname/Wifilicious/Assets.xcassets/connected.imageset/connected.svg new file mode 100644 index 0000000..cc473c5 --- /dev/null +++ b/wifiname/Wifilicious/Assets.xcassets/connected.imageset/connected.svg @@ -0,0 +1,23 @@ + + + connected copy@1x + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wifiname/Wifilicious/Assets.xcassets/disconnected.imageset/Contents.json b/wifiname/Wifilicious/Assets.xcassets/disconnected.imageset/Contents.json new file mode 100644 index 0000000..1de43e3 --- /dev/null +++ b/wifiname/Wifilicious/Assets.xcassets/disconnected.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "disconnected.svg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/wifiname/Wifilicious/Assets.xcassets/disconnected.imageset/disconnected.svg b/wifiname/Wifilicious/Assets.xcassets/disconnected.imageset/disconnected.svg new file mode 100644 index 0000000..d514483 --- /dev/null +++ b/wifiname/Wifilicious/Assets.xcassets/disconnected.imageset/disconnected.svg @@ -0,0 +1,23 @@ + + + connected copy 2@1x + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wifiname/Wifilicious/Authorization.swift b/wifiname/Wifilicious/Authorization.swift new file mode 100644 index 0000000..95f0838 --- /dev/null +++ b/wifiname/Wifilicious/Authorization.swift @@ -0,0 +1,33 @@ +// +// Authorization.swift +// wifiname +// +// Created by Dhanish on 16/05/2024. +// Copyright © 2024 Clarkio. All rights reserved. +// + +import SwiftUI +import CoreLocation + +extension AppDelegate: CLLocationManagerDelegate { + + func checkAuthorizationStatus() { + let currentStatus = locationManager.authorizationStatus + switch currentStatus { + case .authorizedWhenInUse, .authorizedAlways: + listenForSsidChanges() + updateStatusBar() + constructMenu() + case .denied, .restricted: + prompt.toEnableLocationServices() + case .notDetermined: + locationManager.requestWhenInUseAuthorization() + @unknown default: + break + } + } + + func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) { + checkAuthorizationStatus() + } +} diff --git a/wifiname/Wifilicious/Credits.rtf b/wifiname/Wifilicious/Credits.rtf new file mode 100644 index 0000000..ef06bb2 --- /dev/null +++ b/wifiname/Wifilicious/Credits.rtf @@ -0,0 +1,8 @@ +{\rtf1\ansi\ansicpg1252\cocoartf2761 +\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +{\*\expandedcolortbl;;} +\margl1440\margr1440\vieww9000\viewh8400\viewkind0 +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\qc\partightenfactor0 +{\field{\*\fldinst{HYPERLINK "http://www.clarkio.com"}}{\fldrslt +\f0\fs24 \cf0 www.clarkio.com}}} \ No newline at end of file diff --git a/wifiname/wifiname/Info.plist b/wifiname/Wifilicious/Info.plist similarity index 77% rename from wifiname/wifiname/Info.plist rename to wifiname/Wifilicious/Info.plist index 49c867e..c36095e 100644 --- a/wifiname/wifiname/Info.plist +++ b/wifiname/Wifilicious/Info.plist @@ -5,11 +5,9 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - wifiname + Wifilicious CFBundleExecutable $(EXECUTABLE_NAME) - CFBundleIconFile - CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion @@ -19,20 +17,20 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.2.0 + 1 CFBundleVersion - 0.2.0 + 1.0 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) + NSHumanReadableCopyright + Copyright © 2024 Clarkio. All rights reserved. + NSLocationAlwaysAndWhenInUseUsageDescription + We need it for the app to function + CFBundleIconFile + AppIcon LSUIElement - NSHumanReadableCopyright - Copyright © 2017 Clarkio. All rights reserved. - NSMainStoryboardFile - Main - NSPrincipalClass - NSApplication diff --git a/wifiname/Wifilicious/Menu.swift b/wifiname/Wifilicious/Menu.swift new file mode 100644 index 0000000..ea42a5e --- /dev/null +++ b/wifiname/Wifilicious/Menu.swift @@ -0,0 +1,28 @@ +// + // Menu.swift + // wifiname + // + // Created by Dhanish on 16/05/2024. + // Copyright © 2024 Clarkio. All rights reserved. + // + + import SwiftUI + + extension AppDelegate { + + func constructMenu() { + let menu = NSMenu() + + menu.addItem(NSMenuItem(title: visible ? "Hide" : "Show", action: #selector(toggleVisibility(_:)), keyEquivalent: "t")) + menu.addItem(NSMenuItem(title: "About", action: #selector(about), keyEquivalent: ",")) + menu.addItem(NSMenuItem.separator()) + menu.addItem(NSMenuItem(title: "Quit", action: #selector(NSApplication.terminate(_:)), keyEquivalent: "q")) + + statusBarItem.menu = menu + } + + @objc func about(sender: NSMenuItem) { + NSApp.orderFrontStandardAboutPanel() + NSApp.activate(ignoringOtherApps: true) + } + } diff --git a/wifiname/Wifilicious/Prompt.swift b/wifiname/Wifilicious/Prompt.swift new file mode 100644 index 0000000..05a74f0 --- /dev/null +++ b/wifiname/Wifilicious/Prompt.swift @@ -0,0 +1,33 @@ +// +// Prompt.swift +// wifiname +// +// Created by Dhanish on 16/05/2024. +// Copyright © 2024 Clarkio. All rights reserved. +// + +import SwiftUI + +class Prompt { + var isPromptingLocationServices = false + + func toEnableLocationServices() { + + guard !isPromptingLocationServices else { return } + isPromptingLocationServices = true + + let alert = NSAlert() + alert.alertStyle = .critical + alert.messageText = "Location Services Disabled" + alert.informativeText = "To continue, please enable Location Services in your privacy settings. This is necessary to access the Wi-Fi network information required for the app to function" + alert.addButton(withTitle: "Open System Preferences") + alert.addButton(withTitle: "Cancel") + + if alert.runModal() == .alertFirstButtonReturn, + let url = URL(string: "x-apple.systempreferences:com.apple.preference.security?Privacy_LocationServices") { + NSWorkspace.shared.open(url) + } + + isPromptingLocationServices = false + } +} diff --git a/wifiname/Wifilicious/SSID.swift b/wifiname/Wifilicious/SSID.swift new file mode 100644 index 0000000..19347c3 --- /dev/null +++ b/wifiname/Wifilicious/SSID.swift @@ -0,0 +1,34 @@ +// +// SSID.swift +// wifiname +// +// Created by Dhanish on 16/05/2024. +// Copyright © 2024 Clarkio. All rights reserved. +// + +import SwiftUI +import CoreWLAN + +extension AppDelegate: CWEventDelegate { + + func getSSID() -> String? { + let wifiInterface = wifiClient.interface()! + return wifiInterface.ssid() + } + + func listenForSsidChanges() { + wifiClient.delegate = self + do { + try wifiClient.startMonitoringEvent(with: .ssidDidChange) + } catch { + print(error.localizedDescription) + } + } + + func ssidDidChangeForWiFiInterface(withName interfaceName: String) { + DispatchQueue.main.async { + self.updateStatusBar() + } + } +} + diff --git a/wifiname/Wifilicious/Visibility.swift b/wifiname/Wifilicious/Visibility.swift new file mode 100644 index 0000000..4686e31 --- /dev/null +++ b/wifiname/Wifilicious/Visibility.swift @@ -0,0 +1,38 @@ +// + // Visibility.swift + // wifiname + // + // Created by Dhanish on 16/05/2024. + // Copyright © 2024 Clarkio. All rights reserved. + // + + import SwiftUI + + extension AppDelegate { + + @objc func toggleVisibility(_ sender: Any?) { + visible.toggle() + updateStatusBar() + constructMenu() + } + + func updateStatusBar() { + guard let button = statusBarItem.button else { return } + if let ssid = getSSID(), !ssid.isEmpty && visible { + button.title = ssid + if let connectedImage = NSImage(named: NSImage.Name("connected")) { + let newSize = NSSize(width: 20, height: 20) + connectedImage.size = newSize + button.image = connectedImage + } + } else { + button.title = visible ? "Disconnected" : "🙈" + if let disconnectedImage = NSImage(named: NSImage.Name("disconnected")) { + let newSize = NSSize(width: 20, height: 20) + disconnectedImage.size = newSize + button.image = visible ? disconnectedImage : nil + } + } + } + + } diff --git a/wifiname/wifiname/AppDelegate.swift b/wifiname/wifiname/AppDelegate.swift deleted file mode 100644 index 4e7dcd9..0000000 --- a/wifiname/wifiname/AppDelegate.swift +++ /dev/null @@ -1,127 +0,0 @@ -// -// AppDelegate.swift -// wifiname -// -// Created by Brian Clark on 12/27/17. -// Copyright © 2017 Clarkio. All rights reserved. -// - -import Cocoa -import CoreWLAN - -@NSApplicationMain -class AppDelegate: NSObject, NSApplicationDelegate, CWEventDelegate { - - let statusBarItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength) - let wifiClient = CWWiFiClient.shared() - var currentSsid: String? = nil - var visible: Bool = true - var highlightCheckCount: Int = 0 - var isHighlighted: Bool = false - - func applicationDidFinishLaunching(_ aNotification: Notification) { - listenForSsidChanges() - updateStatusBar() - constructMenu() - } - - func updateStatusBar() { - if let button = self.statusBarItem.button { - if let ssid = self.getSSID() { - currentSsid = ssid - if visible { - button.title = ssid - } - } else { - currentSsid = "Disconnected" - if visible { - button.title = "Disconnected" - } - } - highlightChange() - } - } - - func highlightChange() { - highlightStatusBarItem() - - Timer.scheduledTimer(withTimeInterval: 0.5, repeats: true, block: { (OriginalTimer) in - if self.isHighlighted { - self.unhighlighStatusBarItem() - } else { - self.highlightStatusBarItem() - } - - if self.highlightCheckCount == 6 { - self.highlightCheckCount = 0 - self.unhighlighStatusBarItem() - OriginalTimer.invalidate() - } - }) - } - - func highlightStatusBarItem() { - if let button = self.statusBarItem.button { - button.highlight(true) - self.isHighlighted = true - self.highlightCheckCount += 1 - } - } - - func unhighlighStatusBarItem() { - if let button = self.statusBarItem.button { - button.highlight(false) - self.isHighlighted = false - } - } - - func getSSID() -> String? { - let defaultInterface = wifiClient.interface()! - return defaultInterface.ssid() - } - - func listenForSsidChanges() { - wifiClient.delegate = self - do { - try wifiClient.startMonitoringEvent(with: .ssidDidChange) - } catch { - print(error.localizedDescription) - } - } - - func ssidDidChangeForWiFiInterface(withName interfaceName: String) { - DispatchQueue.main.async { - self.updateStatusBar() - } - } - - func constructMenu() { - let menu = NSMenu() - - menu.addItem(NSMenuItem(title: "Toggle Visibility", action: #selector(AppDelegate.toggleVisibility(_:)), keyEquivalent: "T")) - menu.addItem(NSMenuItem.separator()) - menu.addItem(NSMenuItem(title: "Quit", action: #selector(NSApplication.terminate(_:)), keyEquivalent: "q")) - - statusBarItem.menu = menu - } - - @objc func toggleVisibility(_ sender: Any?) { - visible = visible ? false : true - if visible { - self.updateStatusBar() - } else { - if let button = self.statusBarItem.button { - let hideText = String.init(repeating: "_", count: (self.currentSsid!.count)) - button.title = hideText - } - } - } - - func applicationWillTerminate(_ aNotification: Notification) { - do { - try wifiClient.stopMonitoringEvent(with: .ssidDidChange) - } catch { - print(error.localizedDescription) - } - } -} diff --git a/wifiname/wifiname/Assets.xcassets/AppIcon.appiconset/Contents.json b/wifiname/wifiname/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 2db2b1c..0000000 --- a/wifiname/wifiname/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "images" : [ - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "16x16", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "32x32", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "128x128", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "256x256", - "scale" : "2x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "1x" - }, - { - "idiom" : "mac", - "size" : "512x512", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/wifiname/wifiname/Base.lproj/Main.storyboard b/wifiname/wifiname/Base.lproj/Main.storyboard deleted file mode 100644 index 0076eb9..0000000 --- a/wifiname/wifiname/Base.lproj/Main.storyboard +++ /dev/null @@ -1,697 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - Default - - - - - - - Left to Right - - - - - - - Right to Left - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/wifiname/wifiname/ViewController.swift b/wifiname/wifiname/ViewController.swift deleted file mode 100644 index 6e4ab9b..0000000 --- a/wifiname/wifiname/ViewController.swift +++ /dev/null @@ -1,27 +0,0 @@ -// -// ViewController.swift -// wifiname -// -// Created by Brian Clark on 12/27/17. -// Copyright © 2017 Clarkio. All rights reserved. -// - -import Cocoa - -class ViewController: NSViewController { - - override func viewDidLoad() { - super.viewDidLoad() - - // Do any additional setup after loading the view. - } - - override var representedObject: Any? { - didSet { - // Update the view, if already loaded. - } - } - - -} -