You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
476 B
20 lines
476 B
//
|
|
// MainTabBarController.swift
|
|
// elpha-ios
|
|
//
|
|
// Created by Dwayne Harris on 8/25/18.
|
|
// Copyright © 2018 Elpha. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class MainTabBarController: UITabBarController {
|
|
override func viewDidAppear(_ animated: Bool) {
|
|
super.viewDidAppear(animated)
|
|
|
|
if AuthenticationManager.sessions.count == 0 {
|
|
performSegue(withIdentifier: "AuthenticateSegue", sender: self)
|
|
return
|
|
}
|
|
}
|
|
}
|