Repository navigation
[Chore] Update Readme.md #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
52e699b
πbuild: ν΄λ λ° νμΌ μΆκ°, μ΄λ
devBambu 29e7bc1
β¨feat: MohaView νμΌ μμ± λ° TabView μΆκ°
devBambu 61498b3
β¨feat: Route νλ‘ν μ½ μμ± λ° κ΅¬ν
devBambu 937263f
β¨feat: HomeRoute μμ±
devBambu 0b025db
β¨feat: MainRouter μμ± λ° κΈ°μ΄ κ΅¬ν
devBambu e2d73b9
β¨feat: MainRouter νλ‘νΌν° μμ
devBambu 69029b9
β¨feat: Router νλ‘ν μ½ μ μ
devBambu c3056fe
β¨feat: νλ³ Router λ° Route μμ±, λ§μ§λ§ ν μ΄λ¦ λ³κ²½(MyPage -> Settings)
devBambu 825958f
πbuild: Route, Router ν΄λ λΆλ¦¬
devBambu 685adba
β¨feat: MohaView νλ‘νΌν° μμ
devBambu 9f6d910
β¨feat: HomeNavigationStack μμ± λ° κΈ°μ΄ κ΅¬ν
devBambu 60bad05
β¨feat: ReportNavigationStack μμ± λ° κΈ°μ΄ κ΅¬ν
devBambu 2002e61
β¨feat: SettingsNavigationStack μμ± λ° κΈ°μ΄ κ΅¬ν
devBambu f645af1
β¨feat: TabView κ° NavigationStack μ°κ²°
devBambu 9bb31c1
β¨feat: MainRouter environment λ±λ‘
devBambu dfc2cdb
π©Ήchore: Router νλ‘ν μ½ λ€μ΄λ° μμ -> NavigationRouter
devBambu 2667ab9
β¨feat: μ± μ§μ
λ©μΈλ·° λ³κ²½
devBambu d434586
πfix: workflow yml νμΌ μμ
devBambu 813c0b5
β¨feat: NavigationRouter ν¨μ λ§€κ°λ³μ νμ
μμ
devBambu 60bd52c
β¨feat: Route νλ‘ν μ½ id μμ± λ° hash ν¨μ μμ
devBambu 008d723
β¨feat: TabItem μμ‘΄μ± λΆλ¦¬
devBambu d22a9cd
πfix: selectedTabμ TabItem μμ‘΄μ± μμ
devBambu e480c50
Merge pull request #36 from devBambu/feature#2
devBambu 3ba92f0
Update README.md
devBambu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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,47 @@ | ||
| // | ||
| // MohaView.swift | ||
| // Moha | ||
| // | ||
| // Created by λ³μλ¦° on 8/19/26. | ||
| // | ||
|
|
||
| import SwiftUI | ||
|
|
||
| struct MohaView: View { | ||
| @State private var router = MainRouter() | ||
|
|
||
| var body: some View { | ||
| TabView(selection: $router.selectedTab) { | ||
| HomeNavigationStack(router: router.homeRouter) | ||
| .tag(TabItem.home) | ||
| .tabItem { | ||
| Label("Home", systemImage: "house") | ||
| } | ||
|
|
||
| ReportNavigationStack(router: router.reportRouter) | ||
| .tag(TabItem.report) | ||
| .tabItem { | ||
| Label("Report", systemImage: "chart.xyaxis.line") | ||
| } | ||
|
|
||
| SettingsNavigationStack(router: router.settingsRouter) | ||
| .tag(TabItem.settings) | ||
| .tabItem { | ||
| Label("Settings", systemImage: "person") | ||
| } | ||
| } | ||
| .environment(router) | ||
| } | ||
| } | ||
|
|
||
| //MARK: Tab Item | ||
| enum TabItem { | ||
| case home | ||
| case report | ||
| case settings | ||
| } | ||
|
|
||
| //MARK: - MohaView Preview | ||
| #Preview { | ||
| MohaView() | ||
| } |
File renamed without changes.
This file contains hidden or 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
29 changes: 29 additions & 0 deletions
29
Moha/Moha/Sources/Navigation/NavigationStack/HomeNavigationStack.swift
This file contains hidden or 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,29 @@ | ||
| // | ||
| // HomeNavigationStack.swift | ||
| // Moha | ||
| // | ||
| // Created by λ³μλ¦° on 8/21/26. | ||
| // | ||
|
|
||
| import SwiftUI | ||
|
|
||
| struct HomeNavigationStack: View { | ||
| @Bindable var router: HomeRouter | ||
|
|
||
| var body: some View { | ||
| NavigationStack(path: $router.path) { | ||
| Text("Home") //TODO: HomeViewλ‘ μμ νμ | ||
| .navigationDestination(for: HomeRoute.self) { route in | ||
| destinationView(for: route) | ||
| } | ||
| } | ||
| } | ||
|
|
||
| @ViewBuilder | ||
| private func destinationView(for route: HomeRoute) -> some View { | ||
| switch route { | ||
| case .createTodo: | ||
| Text("Create") | ||
| } | ||
| } | ||
| } |
29 changes: 29 additions & 0 deletions
29
Moha/Moha/Sources/Navigation/NavigationStack/ReportNavigationStack.swift
This file contains hidden or 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,29 @@ | ||
| // | ||
| // ReportNavigationStack.swift | ||
| // Moha | ||
| // | ||
| // Created by λ³μλ¦° on 8/21/26. | ||
| // | ||
|
|
||
| import SwiftUI | ||
|
|
||
| struct ReportNavigationStack: View { | ||
| @Bindable var router: ReportRouter | ||
|
|
||
| var body: some View { | ||
| NavigationStack(path: $router.path) { | ||
| Text("Report") //TODO: ReportViewλ‘ μμ νμ | ||
| .navigationDestination(for: ReportRoute.self) { route in | ||
| destinationView(for: route) | ||
| } | ||
| } | ||
| } | ||
|
|
||
| @ViewBuilder | ||
| private func destinationView(for route: ReportRoute) -> some View { | ||
| switch route { | ||
| case .createTodo: | ||
| Text("Create") | ||
| } | ||
| } | ||
| } |
29 changes: 29 additions & 0 deletions
29
Moha/Moha/Sources/Navigation/NavigationStack/SettingsNavigationStack.swift
This file contains hidden or 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,29 @@ | ||
| // | ||
| // SettingsNavigationStack.swift | ||
| // Moha | ||
| // | ||
| // Created by λ³μλ¦° on 8/21/26. | ||
| // | ||
|
|
||
| import SwiftUI | ||
|
|
||
| struct SettingsNavigationStack: View { | ||
| @Bindable var router: SettingsRouter | ||
|
|
||
| var body: some View { | ||
| NavigationStack(path: $router.path) { | ||
| Text("Settings") //TODO: SettingsViewλ‘ μμ νμ | ||
| .navigationDestination(for: SettingsRoute.self) { route in | ||
| destinationView(for: route) | ||
| } | ||
| } | ||
| } | ||
|
|
||
| @ViewBuilder | ||
| private func destinationView(for route: SettingsRoute) -> some View { | ||
| switch route { | ||
| case .createTodo: | ||
| Text("Create") | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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,10 @@ | ||
| // | ||
| // HomeRoute.swift | ||
| // Moha | ||
| // | ||
| // Created by λ³μλ¦° on 8/20/26. | ||
| // | ||
|
|
||
| enum HomeRoute: Route { | ||
| case createTodo | ||
| } |
This file contains hidden or 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,10 @@ | ||
| // | ||
| // ReportRoute.swift | ||
| // Moha | ||
| // | ||
| // Created by λ³μλ¦° on 8/20/26. | ||
| // | ||
|
|
||
| enum ReportRoute: Route { | ||
| case createTodo | ||
| } |
This file contains hidden or 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,8 @@ | ||
| // | ||
| // Route.swift | ||
| // Moha | ||
| // | ||
| // Created by λ³μλ¦° on 8/20/26. | ||
| // | ||
|
|
||
| protocol Route: Hashable { } |
This file contains hidden or 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,10 @@ | ||
| // | ||
| // SettingsRoute.swift | ||
| // Moha | ||
| // | ||
| // Created by λ³μλ¦° on 8/20/26. | ||
| // | ||
|
|
||
| enum SettingsRoute: Route { | ||
| case createTodo | ||
| } |
This file contains hidden or 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,20 @@ | ||
| // | ||
| // MainRouter.swift | ||
| // Moha | ||
| // | ||
| // Created by λ³μλ¦° on 8/20/26. | ||
| // | ||
|
|
||
| import SwiftUI | ||
| import Combine | ||
|
|
||
| @Observable | ||
| final class MainRouter: ObservableObject { | ||
| var selectedTab = TabItem.home | ||
|
|
||
| let homeRouter = HomeRouter() | ||
| let reportRouter = ReportRouter() | ||
| let settingsRouter = SettingsRouter() | ||
|
|
||
|
|
||
| } |
60 changes: 60 additions & 0 deletions
60
Moha/Moha/Sources/Navigation/Router/NavigationRouter.swift
This file contains hidden or 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,60 @@ | ||
| // | ||
| // Router.swift | ||
| // Moha | ||
| // | ||
| // Created by λ³μλ¦° on 8/20/26. | ||
| // | ||
|
|
||
| import SwiftUI | ||
|
|
||
| protocol NavigationRouter: AnyObject { | ||
| associatedtype Destination: Route | ||
|
|
||
| var path: NavigationPath { get set } | ||
| } | ||
|
|
||
| extension NavigationRouter { | ||
| func push(to route: Destination) { | ||
| path.append(route) | ||
| } | ||
|
|
||
| func pop() { | ||
| guard !path.isEmpty else { return } | ||
| path.removeLast() | ||
| } | ||
|
|
||
| func reset() { | ||
| path = NavigationPath() | ||
| } | ||
|
|
||
| func popTo(count: Int) { | ||
| guard count > 0, count <= path.count else { return } | ||
| path.removeLast(count) | ||
| } | ||
|
|
||
| func replace(with route: Destination) { | ||
| path = NavigationPath() | ||
| path.append(route) | ||
| } | ||
| } | ||
|
|
||
| @Observable | ||
| final class HomeRouter: NavigationRouter { | ||
| typealias Destination = HomeRoute | ||
|
|
||
| var path = NavigationPath() | ||
| } | ||
|
|
||
| @Observable | ||
| final class ReportRouter: NavigationRouter { | ||
| typealias Destination = ReportRoute | ||
|
|
||
| var path = NavigationPath() | ||
| } | ||
|
|
||
| @Observable | ||
| final class SettingsRouter: NavigationRouter { | ||
| typealias Destination = SettingsRoute | ||
|
|
||
| var path = NavigationPath() | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,2 +1,28 @@ | ||
| # Moha | ||
| To-do list with daily scrum | ||
| # λͺ¨ν (Moha) | ||
|
|
||
| > μ€λ λ νμ§? κ³ννκ³ , μ€ννκ³ , λμ보λ ν루. | ||
|
|
||
| **λͺ¨ν(Moha)** λ Daily Scrumμ νλ¦μ κ°μΈμ ν루μ μ μ©ν iOS μ±μ λλ€. | ||
|
|
||
| λ¨μν ν μΌμ κΈ°λ‘νλ κ²μμ λλμ§ μκ³ , | ||
| **κ³ν β μ€ν β νκ³ **μ νλ¦μ ν΅ν΄ ν루λ₯Ό κ΄λ¦¬νκ³ λμλ³Ό μ μλλ‘ λ§λλ κ²μ λͺ©νλ‘ ν©λλ€. | ||
|
|
||
| ## μ£Όμ κΈ°λ₯ | ||
|
|
||
| * ν루 κ³ν μμ± λ° κ΄λ¦¬ | ||
| * κ³νλ³ μ§ν μν κΈ°λ‘ | ||
| * ν루 νκ³ | ||
| * μ£Όκ° / μκ° λ¦¬ν¬νΈ | ||
| * 리λ§μΈλ μλ¦Ό | ||
|
|
||
| ## κΈ°μ μ€ν | ||
|
|
||
| | Category | Technology | | ||
| | --- | --- | | ||
| | UI | SwiftUI | | ||
| | Architecture | MVI + Router Pattern | | ||
| | Persistence | SwiftData | | ||
|
|
||
| ## Status | ||
|
|
||
| π§ νμ¬ κ°λ° μ€μ λλ€. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (testing): CI no longer runs tests; only a build is performed now
μ λ°μ΄νΈλ μν¬νλ‘κ° μ΄μ
clean testλμclean buildλ₯Ό μ€ννκ³ μμ΄μ, λ¨μ ν μ€νΈκ° CIμμ λ μ΄μ μνλμ§ μμ΅λλ€. μ΄κ²μ΄ μλλ λ³κ²½μ΄ μλλΌλ©΄, ν μ€νΈκ° μλ¬΄λ° μλ¦Ό μμ΄ μ€λ¨λκ² λ©λλ€. λΉλμ ν μ€νΈλ₯Ό λΆλ¦¬νλ €λ μλμλ€λ©΄, CI ν μ€νΈ 컀λ²λ¦¬μ§λ₯Ό μ μ§ν μ μλλ‘ λ³λμ ν μ€νΈ μ‘/λ¨κ³λ₯Ό μΆκ°ν΄ μ£ΌμΈμ.Original comment in English
issue (testing): CI no longer runs tests; only a build is performed now
The updated workflow now runs
clean buildinstead ofclean test, so unit tests are no longer executed in CI. If this wasnβt intentional, tests will silently stop running. If you meant to separate build and test, please add a dedicated test job/step to keep CI test coverage.