Rename AppCoordinator to SceneCoordinator as that name better defines its purpose

This commit is contained in:
Maurice Parker
2019-09-01 12:43:07 -05:00
parent 56c81bba1f
commit 858bdb7f21
8 changed files with 16 additions and 16 deletions

View File

@@ -13,10 +13,10 @@ import Account
class MasterFeedDataSource<SectionIdentifierType, ItemIdentifierType>: UITableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> where SectionIdentifierType : Hashable, ItemIdentifierType : Hashable {
private var coordinator: AppCoordinator!
private var coordinator: SceneCoordinator!
private var errorHandler: ((Error) -> ())!
init(coordinator: AppCoordinator, errorHandler: @escaping (Error) -> (), tableView: UITableView, cellProvider: @escaping UITableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType>.CellProvider) {
init(coordinator: SceneCoordinator, errorHandler: @escaping (Error) -> (), tableView: UITableView, cellProvider: @escaping UITableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType>.CellProvider) {
super.init(tableView: tableView, cellProvider: cellProvider)
self.coordinator = coordinator
self.errorHandler = errorHandler