blob: db97a1d009b676dba8b8a322a3e5460399d84630 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()
}
|