Skip to content

Commit

Permalink
feat: HomeFeature DownSampling 모듈 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
MaraMincho committed Jan 2, 2024
1 parent 11e8928 commit 86ff379
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class AppCoordinator: AppCoordinating {
}

func start() {
showSplashFlow()
showTabBarFlow()
}

private func showSplashFlow() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ final class TabBarCoordinator: TabBarCoordinating {
}

func start() {
let tabBarViewControllers = [TabBarPage.record, TabBarPage.profile].map {
let tabBarViewControllers = TabBarPage.allCases.map {
return makePageNavigationController(page: $0)
}
let tabBarController = makeTabBarController(tabBarViewControllers: tabBarViewControllers)
Expand All @@ -58,6 +58,13 @@ final class TabBarCoordinator: TabBarCoordinating {

private func startTabBarCoordinator(page: TabBarPage, pageNavigationViewController: UINavigationController) {
switch page {
case .home:
let coordinator = HomeCoordinator(
navigationController: pageNavigationViewController,
delegate: self
)
childCoordinators.append(coordinator)
coordinator.start()
case .record:
let recordCoordinator = RecordFeatureCoordinator(
navigationController: pageNavigationViewController,
Expand Down
11 changes: 10 additions & 1 deletion iOS/Projects/Features/Home/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@ let project = Project.makeModule(
targets: .feature(
.home,
testingOptions: [.unitTest],
dependencies: [.designSystem, .log, .combineCocoa, .trinet, .combineExtension, .coordinator, .commonNetworkingKeyManager],
dependencies: [
.designSystem,
.log,
.combineCocoa,
.trinet,
.combineExtension,
.coordinator,
.commonNetworkingKeyManager,
.downSampling
],
testDependencies: []
)
)

0 comments on commit 86ff379

Please sign in to comment.