AmivMicroApp.swift 646 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
//
//  AmivMicroApp.swift
//  Amiv
//
//  Created by Domenic Wüthrich on 26.09.18.
//  Copyright © 2018 Amiv an der ETH. All rights reserved.
//

import Foundation
import UIKit

public protocol AmivMicroApp {
    
    /// The rootViewController called when application will start
    var rootViewController: UIViewController { get }
    
    /// Indicates if the app is ready or not
    /// Do all additional setup in this method
    /// This method is called right before the app will be shown
    /// - Returns: return true to indicate that the app is ready
    /// - Note: If you return false, app will get killed
    func start() -> Bool
}