Initial project setup.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jeroen Leenarts
2018-05-23 21:50:42 +02:00
parent 5b6b71c6e8
commit ae73b78935
31 changed files with 1836 additions and 1 deletions
@@ -0,0 +1,19 @@
//
// RootCoordinator.swift
// Wireguard
//
// Created by Jeroen Leenarts on 23-05-18.
// Copyright © 2018 Wireguard. All rights reserved.
//
import Foundation
import UIKit
public protocol RootViewControllerProvider: class {
// The coordinators 'rootViewController'. It helps to think of this as the view
// controller that can be used to dismiss the coordinator from the view hierarchy.
var rootViewController: UIViewController { get }
}
/// A Coordinator type that provides a root UIViewController
public typealias RootViewCoordinator = Coordinator & RootViewControllerProvider