diff options
Diffstat (limited to 'foray/Scenes')
-rw-r--r-- | foray/Scenes/ForayDetailViewController.swift | 3 | ||||
-rw-r--r-- | foray/Scenes/ForayTableViewController.swift | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/foray/Scenes/ForayDetailViewController.swift b/foray/Scenes/ForayDetailViewController.swift index 85b2929..1e2f9ca 100644 --- a/foray/Scenes/ForayDetailViewController.swift +++ b/foray/Scenes/ForayDetailViewController.swift @@ -7,9 +7,10 @@ import UIKit -class ForayDetailViewController: UIViewController, HasCustomView, ForayCoordinated { +class ForayDetailViewController: UIViewController, HasCustomView, Coordinated { typealias CustomView = ForayDetailView + typealias CoordinatorType = ForayCoordinator var coordinator: ForayCoordinator? diff --git a/foray/Scenes/ForayTableViewController.swift b/foray/Scenes/ForayTableViewController.swift index 72d3569..13b9dea 100644 --- a/foray/Scenes/ForayTableViewController.swift +++ b/foray/Scenes/ForayTableViewController.swift @@ -12,7 +12,9 @@ struct YearSection { var items: [PenguinItemViewModel] } -class ForayTableViewController: UITableViewController, ForayCoordinated { +class ForayTableViewController: UITableViewController, Coordinated { + + typealias CoordinatorType = ForayCoordinator let presenter: PenguinItemPresenter = PenguinItemPresenter() var coordinator: ForayCoordinator? |