40 lines
1.1 KiB
Swift
40 lines
1.1 KiB
Swift
//
|
|
// MainTabBarViewController.swift
|
|
// Tusker
|
|
//
|
|
// Created by Shadowfactson 8/21/18.
|
|
// Copyright © 2018 Shadowfacts. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class MainTabBarViewController: UITabBarController {
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
|
|
viewControllers = [
|
|
TimelineTableViewController.create(for: .home),
|
|
TimelineTableViewController.create(for: .public(local: false)),
|
|
TimelineTableViewController.create(for: .public(local: true)),
|
|
NotificationsTableViewController.create(),
|
|
PreferencesTableViewController.create()
|
|
]
|
|
}
|
|
|
|
|
|
/*
|
|
// MARK: - Navigation
|
|
|
|
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
|
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
|
|
// Get the new view controller using segue.destination.
|
|
// Pass the selected object to the new view controller.
|
|
}
|
|
*/
|
|
|
|
@IBAction func unwindToTabBarController(segue: UIStoryboardSegue) {
|
|
}
|
|
|
|
}
|