diff --git a/Projects/App/Sources/AppDelegate.swift b/Projects/App/Sources/AppDelegate.swift index 1bf8258..8c2837a 100644 --- a/Projects/App/Sources/AppDelegate.swift +++ b/Projects/App/Sources/AppDelegate.swift @@ -57,7 +57,7 @@ struct MohanyangApp: App { WindowGroup { AppView(store: self.appDelegate.store) } - .onChange(of: self.scenePhase) { oldValue, newValue in + .onChange(of: self.scenePhase) { _, newValue in self.appDelegate.store.send(.didChangeScenePhase(newValue)) } } diff --git a/Projects/Feature/Feature/Sources/AppCore.swift b/Projects/Feature/Feature/Sources/AppCore.swift index 780fee6..6c7a24a 100644 --- a/Projects/Feature/Feature/Sources/AppCore.swift +++ b/Projects/Feature/Feature/Sources/AppCore.swift @@ -67,7 +67,7 @@ public struct AppCore { completionHandler() return .none } - return .run { send in + return .run { _ in switch pushNotiContent { case .test: break diff --git a/Projects/Feature/Feature/Sources/AppDelegateCore.swift b/Projects/Feature/Feature/Sources/AppDelegateCore.swift index c3801ca..40d739d 100644 --- a/Projects/Feature/Feature/Sources/AppDelegateCore.swift +++ b/Projects/Feature/Feature/Sources/AppDelegateCore.swift @@ -38,7 +38,10 @@ public struct AppDelegateCore { Reduce(self.core) } - private func core(_ state: inout State, _ action: Action) -> EffectOf { + private func core( + _ state: inout State, + _ action: Action + ) -> EffectOf { switch action { case .didFinishLaunching: UIApplication.shared.applicationIconBadgeNumber = 0 diff --git a/Projects/Feature/HomeFeature/Sources/HomeCore.swift b/Projects/Feature/HomeFeature/Sources/HomeCore.swift index 2720af5..4a070c8 100644 --- a/Projects/Feature/HomeFeature/Sources/HomeCore.swift +++ b/Projects/Feature/HomeFeature/Sources/HomeCore.swift @@ -12,7 +12,7 @@ import ComposableArchitecture extension HomeCore { public init() { - let reducer = Reduce { state, action in + let reducer = Reduce { _, action in switch action { case .onAppear: return .none diff --git a/Projects/Feature/OnboardingFeature/Sources/OnboardingCore.swift b/Projects/Feature/OnboardingFeature/Sources/OnboardingCore.swift index 50a3125..9328ed0 100644 --- a/Projects/Feature/OnboardingFeature/Sources/OnboardingCore.swift +++ b/Projects/Feature/OnboardingFeature/Sources/OnboardingCore.swift @@ -12,7 +12,7 @@ import ComposableArchitecture extension OnboardingCore { public init() { - let reducer = Reduce { state, action in + let reducer = Reduce { _, action in switch action { case .onAppear: return .none