HomeNavigator.swift 723 Bytes
Newer Older
domenicw's avatar
domenicw committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
//  HomeNavigator.swift
//  Amiv
//
//  Created by Domenic Wüthrich on 18.09.18.
//  Copyright © 2018 Amiv an der ETH. All rights reserved.
//

import Foundation
import UIKit

public class HomeNavigator: Navigator {
    
    // MARK: - Variables
    
    public var rootViewController: UIViewController {
        return self.navigationController
    }
    
    private var navigationController: UINavigationController
    
    // MARK: - Initializers
    
    public init() {
domenicw's avatar
domenicw committed
25
        let model = ""
domenicw's avatar
domenicw committed
26
27
        let home = HomeViewController(model: model)
        self.navigationController = UINavigationController(rootViewController: home)
domenicw's avatar
domenicw committed
28
        self.navigationController.navigationBar.tintColor = .amivRed
domenicw's avatar
domenicw committed
29
30
31
    }
    
}