-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feat] Review 조회/등록 View Coordinator 연결 - #2
- Loading branch information
Showing
12 changed files
with
384 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
Whidy-iOS/Presentation/Main/StudyMap/Feature/Info/InfoDetailFeature.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
// | ||
// InfoDetailFeature.swift | ||
// Whidy-iOS | ||
// | ||
// Created by JinwooLee on 2/2/25. | ||
// | ||
|
||
import Foundation | ||
import ComposableArchitecture | ||
|
||
@Reducer | ||
struct InfoDetailFeature { | ||
@ObservableState | ||
struct State : Equatable { | ||
let id = UUID() | ||
|
||
} | ||
|
||
enum Action : BindableAction { | ||
case binding(BindingAction<State>) | ||
case networkResponse(NetworkReponse) | ||
case buttonTapped(ButtonTapped) | ||
case viewTransition(ViewTransition) | ||
case anyAction(AnyAction) | ||
} | ||
|
||
enum ViewTransition { | ||
case onAppear | ||
case dismiss | ||
} | ||
|
||
enum NetworkReponse { | ||
|
||
} | ||
|
||
enum ButtonTapped { | ||
|
||
} | ||
|
||
|
||
enum AnyAction { | ||
|
||
} | ||
|
||
@Dependency(\.networkManager) var networkManager | ||
|
||
var body : some ReducerOf<Self> { | ||
|
||
BindingReducer() | ||
|
||
Reduce { state, action in | ||
switch action { | ||
|
||
|
||
default : | ||
break | ||
} | ||
return .none | ||
} | ||
} | ||
} | ||
|
61 changes: 61 additions & 0 deletions
61
Whidy-iOS/Presentation/Main/StudyMap/Feature/Review/ReviewFeature.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// | ||
// ReviewFeature.swift | ||
// Whidy-iOS | ||
// | ||
// Created by JinwooLee on 2/2/25. | ||
// | ||
|
||
import Foundation | ||
import ComposableArchitecture | ||
|
||
@Reducer | ||
struct ReviewExpandedFeature { | ||
@ObservableState | ||
struct State : Equatable { | ||
let id = UUID() | ||
|
||
} | ||
|
||
enum Action : BindableAction { | ||
case binding(BindingAction<State>) | ||
case networkResponse(NetworkReponse) | ||
case buttonTapped(ButtonTapped) | ||
case viewTransition(ViewTransition) | ||
case anyAction(AnyAction) | ||
} | ||
|
||
enum ViewTransition { | ||
case onAppear | ||
} | ||
|
||
enum NetworkReponse { | ||
|
||
} | ||
|
||
enum ButtonTapped { | ||
|
||
} | ||
|
||
|
||
enum AnyAction { | ||
|
||
} | ||
|
||
@Dependency(\.networkManager) var networkManager | ||
|
||
var body : some ReducerOf<Self> { | ||
|
||
BindingReducer() | ||
|
||
Reduce { state, action in | ||
switch action { | ||
|
||
|
||
default : | ||
break | ||
} | ||
return .none | ||
} | ||
} | ||
} | ||
|
61 changes: 61 additions & 0 deletions
61
Whidy-iOS/Presentation/Main/StudyMap/Feature/Review/ReviewWriteFilterFeature.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// | ||
// ReviewWriteFilterFeature.swift | ||
// Whidy-iOS | ||
// | ||
// Created by JinwooLee on 2/2/25. | ||
// | ||
|
||
import Foundation | ||
import ComposableArchitecture | ||
|
||
@Reducer | ||
struct ReviewWriteFilterFeature { | ||
@ObservableState | ||
struct State : Equatable { | ||
let id = UUID() | ||
|
||
} | ||
|
||
enum Action : BindableAction { | ||
case binding(BindingAction<State>) | ||
case networkResponse(NetworkReponse) | ||
case buttonTapped(ButtonTapped) | ||
case viewTransition(ViewTransition) | ||
case anyAction(AnyAction) | ||
} | ||
|
||
enum ViewTransition { | ||
case onAppear | ||
} | ||
|
||
enum NetworkReponse { | ||
|
||
} | ||
|
||
enum ButtonTapped { | ||
|
||
} | ||
|
||
|
||
enum AnyAction { | ||
|
||
} | ||
|
||
@Dependency(\.networkManager) var networkManager | ||
|
||
var body : some ReducerOf<Self> { | ||
|
||
BindingReducer() | ||
|
||
Reduce { state, action in | ||
switch action { | ||
|
||
|
||
default : | ||
break | ||
} | ||
return .none | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.