From c59809fc78914169ab7119f0f87476c5b43b5ee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=B3=91=EB=AF=BC=20=28Byungmin=20Kang=29?= Date: Tue, 14 Nov 2023 10:57:12 +0900 Subject: [PATCH] Remove unnecessary Reducer conformance and @CasePathable macro in CaseStudies (#2567) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * remove unnecessary Reducer conformance * remove unnecessary @CasePathable macro --------- Co-authored-by: 강병민 --- .../SwiftUICaseStudies/04-HigherOrderReducers-Recursion.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-Recursion.swift b/Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-Recursion.swift index ef541b593980..dc9fbd5cef5f 100644 --- a/Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-Recursion.swift +++ b/Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-Recursion.swift @@ -11,14 +11,13 @@ private let readMe = """ // MARK: - Feature domain @Reducer -struct Nested: Reducer { +struct Nested { struct State: Equatable, Identifiable { let id: UUID var name: String = "" var rows: IdentifiedArrayOf = [] } - @CasePathable enum Action { case addRowButtonTapped case nameTextFieldChanged(String)