Skip to content

Commit b268700

Browse files
committed
Renamed MoviesSearchFlowCoordinator
1 parent 83e0608 commit b268700

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

ExampleMVVM.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
1FE49D89230AA7C200D1D42E /* MoviesListViewController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1FE49D70230AA7C200D1D42E /* MoviesListViewController.storyboard */; };
7777
1FE49D8A230AA7C200D1D42E /* MoviesListItemCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FE49D73230AA7C200D1D42E /* MoviesListItemCell.swift */; };
7878
1FE49D8B230AA7C200D1D42E /* MoviesListTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FE49D74230AA7C200D1D42E /* MoviesListTableViewController.swift */; };
79-
1FE49D8C230AA7C200D1D42E /* MoviesListViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FE49D75230AA7C200D1D42E /* MoviesListViewController.swift */; };
79+
1FE49D8C230AA7C200D1D42E /* MoviesSearchFlowCoordinator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FE49D75230AA7C200D1D42E /* MoviesSearchFlowCoordinator.swift */; };
8080
1FE49D8E230AA7C200D1D42E /* MoviesQueryListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FE49D7A230AA7C200D1D42E /* MoviesQueryListView.swift */; };
8181
1FE49D8F230AA7C200D1D42E /* MoviesQueryListViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FE49D7E230AA7C200D1D42E /* MoviesQueryListViewModel.swift */; };
8282
1FE49D90230AA7C200D1D42E /* MovieDetailsViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FE49D80230AA7C200D1D42E /* MovieDetailsViewModel.swift */; };
@@ -177,7 +177,7 @@
177177
1FE49D70230AA7C200D1D42E /* MoviesListViewController.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = MoviesListViewController.storyboard; sourceTree = "<group>"; };
178178
1FE49D73230AA7C200D1D42E /* MoviesListItemCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MoviesListItemCell.swift; sourceTree = "<group>"; };
179179
1FE49D74230AA7C200D1D42E /* MoviesListTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MoviesListTableViewController.swift; sourceTree = "<group>"; };
180-
1FE49D75230AA7C200D1D42E /* MoviesListViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MoviesListViewController.swift; sourceTree = "<group>"; };
180+
1FE49D75230AA7C200D1D42E /* MoviesSearchFlowCoordinator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MoviesSearchFlowCoordinator.swift; sourceTree = "<group>"; };
181181
1FE49D7A230AA7C200D1D42E /* MoviesQueryListView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MoviesQueryListView.swift; sourceTree = "<group>"; };
182182
1FE49D7E230AA7C200D1D42E /* MoviesQueryListViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MoviesQueryListViewModel.swift; sourceTree = "<group>"; };
183183
1FE49D80230AA7C200D1D42E /* MovieDetailsViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MovieDetailsViewModel.swift; sourceTree = "<group>"; };
@@ -706,7 +706,7 @@
706706
1FE49D99230AEB4000D1D42E /* View */ = {
707707
isa = PBXGroup;
708708
children = (
709-
1FE49D75230AA7C200D1D42E /* MoviesListViewController.swift */,
709+
1FE49D75230AA7C200D1D42E /* MoviesSearchFlowCoordinator.swift */,
710710
1FE49D70230AA7C200D1D42E /* MoviesListViewController.storyboard */,
711711
1FE49D71230AA7C200D1D42E /* MoviesListTableView */,
712712
);
@@ -950,7 +950,7 @@
950950
1FD03807239098650016D05F /* CoreDataStorage.xcdatamodeld in Sources */,
951951
1FE49D87230AA7C200D1D42E /* MovieDetailsViewController.swift in Sources */,
952952
1FC5B7D0242634EB0086FA8C /* UIImageView+ImageSizeAfterAspectFit.swift in Sources */,
953-
1FE49D8C230AA7C200D1D42E /* MoviesListViewController.swift in Sources */,
953+
1FE49D8C230AA7C200D1D42E /* MoviesSearchFlowCoordinator.swift in Sources */,
954954
1FC5B7D2242635CC0086FA8C /* CGSize+ScaledSize.swift in Sources */,
955955
1FFFC832221B0041007D99D2 /* MoviesQueriesRepository.swift in Sources */,
956956
1FE49D8E230AA7C200D1D42E /* MoviesQueryListView.swift in Sources */,

ExampleMVVM/Application/AppMainFlowCoordinator.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class AppMainFlowCoordinator {
2020

2121
func start() {
2222
let makeMoviesSceneDIContainer = appDIContainer.makeMoviesSceneDIContainer()
23-
let flow = MoviesFlowCoordinator(navigationController: navigationController,
24-
dependencies: makeMoviesSceneDIContainer)
23+
let flow = MoviesSearchFlowCoordinator(navigationController: navigationController,
24+
dependencies: makeMoviesSceneDIContainer)
2525
flow.start()
2626
}
2727
}

ExampleMVVM/Application/DIContainer/MoviesSceneDIContainer.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ final class MoviesSceneDIContainer {
9393
}
9494
}
9595

96-
extension MoviesSceneDIContainer: MoviesFlowCoordinatorDependencies {}
96+
extension MoviesSceneDIContainer: MoviesSearchFlowCoordinatorDependencies {}

ExampleMVVM/Presentation/MoviesScene/FlowCoordinator/MoviesFlowCoordinator.swift

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
//
2-
// MoviesFlowCoordinator.swift
2+
// MoviesSearchFlowCoordinator.swift
33
// ExampleMVVM
44
//
55
// Created by Oleh Kudinov on 03.03.19.
66
//
77

88
import UIKit
99

10-
protocol MoviesFlowCoordinatorDependencies {
10+
protocol MoviesSearchFlowCoordinatorDependencies {
1111
func makeMoviesListViewController() -> MoviesListViewController
1212
func makeMoviesDetailsViewController(movie: Movie) -> UIViewController
1313
func makeMoviesQueriesSuggestionsListViewController(delegate: MoviesQueryListViewModelDelegate) -> UIViewController
1414
}
1515

16-
class MoviesFlowCoordinator {
16+
class MoviesSearchFlowCoordinator {
1717

1818
private let navigationController: UINavigationController
19-
private let dependencies: MoviesFlowCoordinatorDependencies
19+
private let dependencies: MoviesSearchFlowCoordinatorDependencies
2020

2121
private weak var moviesListViewController: MoviesListViewController?
2222
private weak var moviesQueriesSuggestionsView: UIViewController?
2323

2424
init(navigationController: UINavigationController,
25-
dependencies: MoviesFlowCoordinatorDependencies) {
25+
dependencies: MoviesSearchFlowCoordinatorDependencies) {
2626
self.navigationController = navigationController
2727
self.dependencies = dependencies
2828
}

0 commit comments

Comments
 (0)