From 4b0e0db186f9f9ff2f09468a34dee8b73ede6f12 Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Fri, 30 May 2025 16:05:35 +0100 Subject: [PATCH] FINALLY created settings window that actually shows up --- Config.xcconfig | 2 +- DockPhobia.xcodeproj/project.pbxproj | 12 ++++++--- DockPhobia/.DS_Store | Bin 6148 -> 6148 bytes DockPhobia/AppDelegate.swift | 15 +++++++++++ DockPhobia/SettingsController.swift | 26 ++++++++++++++++++ DockPhobia/Views/Preferences.swift | 8 ------ DockPhobia/Views/Preferences.xib | 39 +++++++++++++++++++++++++++ 7 files changed, 89 insertions(+), 13 deletions(-) create mode 100644 DockPhobia/SettingsController.swift delete mode 100644 DockPhobia/Views/Preferences.swift create mode 100644 DockPhobia/Views/Preferences.xib diff --git a/Config.xcconfig b/Config.xcconfig index abe7522..daf3a35 100644 --- a/Config.xcconfig +++ b/Config.xcconfig @@ -5,7 +5,7 @@ // Created by neon443 on 26/05/2025. // -VERSION = 1.2.1 +VERSION = 1.3 BUILD_ID = 3 TEAM_ID = 8JGND254B7 BUNDLE_ID = com.neon443.DockPhobia diff --git a/DockPhobia.xcodeproj/project.pbxproj b/DockPhobia.xcodeproj/project.pbxproj index 77315ec..1d474a3 100644 --- a/DockPhobia.xcodeproj/project.pbxproj +++ b/DockPhobia.xcodeproj/project.pbxproj @@ -14,8 +14,9 @@ A98C20C62DE614180008D61C /* DPSettings.swift in Sources */ = {isa = PBXBuildFile; fileRef = A98C20C52DE614180008D61C /* DPSettings.swift */; }; A9C9AF812DE7776A0039D7A5 /* DockSide.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C9AF802DE777530039D7A5 /* DockSide.swift */; }; A9C9AF832DE77CB70039D7A5 /* SkyHigh.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C9AF822DE77CB70039D7A5 /* SkyHigh.swift */; }; - A9C9B0682DE888B20039D7A5 /* Preferences.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C9B0672DE888B20039D7A5 /* Preferences.swift */; }; A9C9B06D2DE99E5F0039D7A5 /* Sparkle in Frameworks */ = {isa = PBXBuildFile; productRef = A9C9B06C2DE99E5F0039D7A5 /* Sparkle */; }; + A9C9B0712DE9F6E60039D7A5 /* Preferences.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9C9B0702DE9F6E60039D7A5 /* Preferences.xib */; }; + A9C9B0732DE9F7020039D7A5 /* SettingsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C9B0722DE9F7020039D7A5 /* SettingsController.swift */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -29,8 +30,9 @@ A98C20C52DE614180008D61C /* DPSettings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DPSettings.swift; sourceTree = ""; }; A9C9AF802DE777530039D7A5 /* DockSide.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DockSide.swift; sourceTree = ""; }; A9C9AF822DE77CB70039D7A5 /* SkyHigh.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SkyHigh.swift; sourceTree = ""; }; - A9C9B0672DE888B20039D7A5 /* Preferences.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Preferences.swift; sourceTree = ""; }; A9C9B06E2DE9B55F0039D7A5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + A9C9B0702DE9F6E60039D7A5 /* Preferences.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = Preferences.xib; sourceTree = ""; }; + A9C9B0722DE9F7020039D7A5 /* SettingsController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsController.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -56,8 +58,8 @@ A94BEC102DE23ECE00D4811D /* Views */ = { isa = PBXGroup; children = ( + A9C9B0702DE9F6E60039D7A5 /* Preferences.xib */, A94BEC0E2DE23E8500D4811D /* MainMenu.xib */, - A9C9B0672DE888B20039D7A5 /* Preferences.swift */, ); path = Views; sourceTree = ""; @@ -88,6 +90,7 @@ A9C9AF822DE77CB70039D7A5 /* SkyHigh.swift */, A98C20C52DE614180008D61C /* DPSettings.swift */, A9C9AF802DE777530039D7A5 /* DockSide.swift */, + A9C9B0722DE9F7020039D7A5 /* SettingsController.swift */, A94BEC102DE23ECE00D4811D /* Views */, A94BEC0A2DE21F8100D4811D /* Resources */, A966B4F02DE0842400C721A5 /* DockPhobia.entitlements */, @@ -160,6 +163,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + A9C9B0712DE9F6E60039D7A5 /* Preferences.xib in Resources */, A94BEC0F2DE23E8500D4811D /* MainMenu.xib in Resources */, A966B4F52DE0842500C721A5 /* Assets.xcassets in Resources */, ); @@ -174,7 +178,7 @@ files = ( A98C20C62DE614180008D61C /* DPSettings.swift in Sources */, A9C9AF832DE77CB70039D7A5 /* SkyHigh.swift in Sources */, - A9C9B0682DE888B20039D7A5 /* Preferences.swift in Sources */, + A9C9B0732DE9F7020039D7A5 /* SettingsController.swift in Sources */, A966B4F82DE0852900C721A5 /* MouseTracker.swift in Sources */, A966B4F42DE0842500C721A5 /* AppDelegate.swift in Sources */, A9C9AF812DE7776A0039D7A5 /* DockSide.swift in Sources */, diff --git a/DockPhobia/.DS_Store b/DockPhobia/.DS_Store index a92bc56ef29896deafa6fee1c9450359d3c3ae12..18996b3ef35e7cfd8079037623c15a1602d6bd9d 100644 GIT binary patch literal 6148 zcmeHKv2GJV5Pb_qvJ(lrK|&G56)93hN`4?0$Ej$nSfT?FpRGW2_E|X+5NYmDNa2s5 zq@n=+AVm-#fS^dvo83*a8=qr~B8s9NY4`2T&fLCv=ezX+P|d^M8qfexWfQC{uq!c{ zmo{M!tmg?)>3h6Gj#Yd>g58Pe;0Ou?1@4*x^6u8L$@ex#AMX2m=}Gt2I!QJdY3jA5 zPqQ-yS*z7evo0g6Ka#Uo%|Bl^=gI2*N7m?#%dRaX7trMQN9tKciV+TwVc)AlqNc>T z+<%>a`TY2==3aWwL3YJ>R;iI$H?HGWF@Kg{kL(|)VTa6f)^NzW5*hdMB<*HdI%V1`v3`0|eiOH>F@8UPW*$k& za&9R%M|$)dKZV~Tys!@<_juvs*q?Rz9It<0#<~89IQcG*@(6Ez6te!U8~1Fn>Y~BW z2L*xxL4ivJw#>=Pua9_E|LK;wpbXXhZg<_Xc3;< delta 120 zcmZoMXfc=|#>B)qu~2NHo}wr(0|Nsi1A_nqgC0W;Ljgk(Lq0>+#=_-{jJ%T#SS2QZ zVVOKRob3iv{{4u>tm-!0{4zO^T?WQ1W}mWIfnx#lW_AvK4xqW41v$PmPv#eK Q + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +