aboutsummaryrefslogtreecommitdiff
path: root/foray/Scenes
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2022-07-17 01:51:31 +1000
committerNicholas Tay <nick@windblume.net>2022-07-17 01:51:31 +1000
commit358f540104aa38b3911f913a0bca047921210205 (patch)
tree8bd3bf1be7186bd9b8532a44dbd1dc17ccd38fa5 /foray/Scenes
parente963970c62bd9fb8007694143fb90ecaea198da2 (diff)
downloadforayios-358f540104aa38b3911f913a0bca047921210205.tar.gz
forayios-358f540104aa38b3911f913a0bca047921210205.tar.bz2
forayios-358f540104aa38b3911f913a0bca047921210205.zip
Try out moving coordinator 'coordinated' VC thing
Diffstat (limited to 'foray/Scenes')
-rw-r--r--foray/Scenes/ForayDetailViewController.swift3
-rw-r--r--foray/Scenes/ForayTableViewController.swift4
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?