-
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: BottleFontSystem mainTitle 추가 * feat: SandBeachView 디자인 QA 반영 * feat: UserClient CoachMarkState 추가 * feat: SandBeachCoachMarkFeature 구현 * feat: SandBeachCoachMarkView 구현 * feat: SandBeachCoachMarkView 연결 * feat: PopupType CoachMark 추가 * feat: 코치마크 구현 * feat: CoachMark 3번 클릭 시 끝나도록 구현
- Loading branch information
1 parent
1f78df6
commit 0612812
Showing
13 changed files
with
304 additions
and
61 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
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
30 changes: 30 additions & 0 deletions
30
...ts/Feature/SandBeach/Interface/Sources/SandBeachCoachMark/SandBeachCoachMarkFeature.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,30 @@ | ||
// | ||
// SandBeachCoachMarkFeature.swift | ||
// FeatureSandBeachInterface | ||
// | ||
// Created by 임현규 on 10/28/24. | ||
// | ||
|
||
import ComposableArchitecture | ||
|
||
extension SandBeachCoachMarkFeature { | ||
public init() { | ||
let reducer = Reduce<State, Action> { state, action in | ||
switch action { | ||
case .coachMarkDidTapped: | ||
state.count += 1 | ||
|
||
if state.count == 3 { | ||
return .send(.delegate(.coachMarkDidCompleted)) | ||
} else { | ||
return .none | ||
} | ||
|
||
case .delegate: | ||
return .none | ||
} | ||
} | ||
|
||
self.init(reducer: reducer) | ||
} | ||
} |
Oops, something went wrong.