From fd68f4e5f93878f41398913cdc82201b1a281215 Mon Sep 17 00:00:00 2001 From: Yurim Kim Date: Thu, 16 Jan 2025 05:56:36 +0900 Subject: [PATCH 1/3] =?UTF-8?q?[Chore]=20=EC=8B=9C=EC=9E=91=ED=99=94?= =?UTF-8?q?=EB=A9=B4=20=EB=A1=9C=EA=B7=B8=EC=9D=B8VC=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20(#30)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ACON-iOS/ACON-iOS/Application/SceneDelegate.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ACON-iOS/ACON-iOS/Application/SceneDelegate.swift b/ACON-iOS/ACON-iOS/Application/SceneDelegate.swift index 556192d8..87220d74 100644 --- a/ACON-iOS/ACON-iOS/Application/SceneDelegate.swift +++ b/ACON-iOS/ACON-iOS/Application/SceneDelegate.swift @@ -17,8 +17,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { self.window = UIWindow(windowScene: windowScene) let navigationController = UINavigationController(rootViewController: LoginViewController()) navigationController.navigationBar.isHidden = true -// self.window?.rootViewController = navigationController - self.window?.rootViewController = SpotListFilterViewController() + self.window?.rootViewController = navigationController self.window?.makeKeyAndVisible() } From b918b699f2e5193d82e09e454deae22bafd7335c Mon Sep 17 00:00:00 2001 From: Yurim Kim Date: Thu, 16 Jan 2025 05:57:12 +0900 Subject: [PATCH 2/3] =?UTF-8?q?[Feat]=20ratio=20=ED=94=84=EB=A1=9C?= =?UTF-8?q?=ED=8D=BC=ED=8B=B0=20=EC=83=9D=EC=84=B1=20(#30)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ACON-iOS/ACON-iOS/Global/Utils/ScreenUtils.swift | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ACON-iOS/ACON-iOS/Global/Utils/ScreenUtils.swift b/ACON-iOS/ACON-iOS/Global/Utils/ScreenUtils.swift index 4e688272..d140206b 100644 --- a/ACON-iOS/ACON-iOS/Global/Utils/ScreenUtils.swift +++ b/ACON-iOS/ACON-iOS/Global/Utils/ScreenUtils.swift @@ -22,4 +22,17 @@ struct ScreenUtils { return UIScreen.main.bounds.height } + + // MARK: - width 비율 + + static var widthRatio: CGFloat { + let figmaWidth: CGFloat = 360 + return width / figmaWidth + } + + static var heightRatio: CGFloat { + let figmaHeight: CGFloat = 780 + return height / figmaHeight + } + } From c85f047e694a0a1b29ee4a6cecb3f81588654939 Mon Sep 17 00:00:00 2001 From: Yurim Kim Date: Thu, 16 Jan 2025 06:02:31 +0900 Subject: [PATCH 3/3] =?UTF-8?q?[Chore]=20=EC=A3=BC=EC=84=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#30)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ACON-iOS/ACON-iOS/Global/Utils/ScreenUtils.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ACON-iOS/ACON-iOS/Global/Utils/ScreenUtils.swift b/ACON-iOS/ACON-iOS/Global/Utils/ScreenUtils.swift index d140206b..5fc0c380 100644 --- a/ACON-iOS/ACON-iOS/Global/Utils/ScreenUtils.swift +++ b/ACON-iOS/ACON-iOS/Global/Utils/ScreenUtils.swift @@ -23,7 +23,7 @@ struct ScreenUtils { } - // MARK: - width 비율 + // MARK: - 비율 프로퍼티 static var widthRatio: CGFloat { let figmaWidth: CGFloat = 360