From b686d5cb1384bd5762d1ccec5f418508dadcf584 Mon Sep 17 00:00:00 2001 From: Zoe Date: Sat, 16 Nov 2024 03:43:04 +0900 Subject: [PATCH] =?UTF-8?q?[Feat/#104]=20App=20State=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HMH_Tuist_iOS/Projects/Core/Sources/AppState.swift | 9 --------- .../Projects/Core/Sources/Manager/UserManager.swift | 8 ++++++++ 2 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 HMH_Tuist_iOS/Projects/Core/Sources/AppState.swift diff --git a/HMH_Tuist_iOS/Projects/Core/Sources/AppState.swift b/HMH_Tuist_iOS/Projects/Core/Sources/AppState.swift deleted file mode 100644 index 1410a996..00000000 --- a/HMH_Tuist_iOS/Projects/Core/Sources/AppState.swift +++ /dev/null @@ -1,9 +0,0 @@ -import Foundation - -public enum AppState: String { - case login - case onboarding - case onboardingComplete - case home - case servicePrepare -} diff --git a/HMH_Tuist_iOS/Projects/Core/Sources/Manager/UserManager.swift b/HMH_Tuist_iOS/Projects/Core/Sources/Manager/UserManager.swift index 7a87de2d..7f2ba4e5 100644 --- a/HMH_Tuist_iOS/Projects/Core/Sources/Manager/UserManager.swift +++ b/HMH_Tuist_iOS/Projects/Core/Sources/Manager/UserManager.swift @@ -7,6 +7,14 @@ import SwiftUI +public enum AppState: String { + case login + case onboarding + case onboardingComplete + case home + case servicePrepare +} + public class UserManager: ObservableObject { @KeychainStorage("accessToken") public var accessToken @KeychainStorage("refreshToken") public var refreshToken