diff options
author | Nicholas Tay <nick@windblume.net> | 2022-03-24 16:32:23 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-03-24 16:32:23 +1100 |
commit | 1b292bc251b3dbef532dacad9705bd197ac4227b (patch) | |
tree | 1635ed0cc70922f6337d010b42e2119258877114 /foray/Coordinators/Coordinator.swift | |
parent | 716724df0fee78a8976d5255096e000af29daad1 (diff) | |
download | forayios-1b292bc251b3dbef532dacad9705bd197ac4227b.tar.gz forayios-1b292bc251b3dbef532dacad9705bd197ac4227b.tar.bz2 forayios-1b292bc251b3dbef532dacad9705bd197ac4227b.zip |
Reorganise into folder groups
In preparation for presenters to come in largely, lots of files starting
to go everywhere...
Diffstat (limited to 'foray/Coordinators/Coordinator.swift')
-rw-r--r-- | foray/Coordinators/Coordinator.swift | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/foray/Coordinators/Coordinator.swift b/foray/Coordinators/Coordinator.swift new file mode 100644 index 0000000..db97a1d --- /dev/null +++ b/foray/Coordinators/Coordinator.swift @@ -0,0 +1,19 @@ +// +// Coordinator.swift +// foray +// +// Created by Nicholas Tay on 21/3/2022. +// Based on code from Paul Hudson on Hacking with Swift +// (https://www.hackingwithswift.com/articles/71/how-to-use-the-coordinator-pattern-in-ios-apps) +// + +import Foundation +import UIKit + +protocol Coordinator { + var childCoordinators: [Coordinator] { get set } + var navigationController: UINavigationController { get set } + + func start() +} + |