2019-04-19 07:49:35 -05:00
|
|
|
//
|
|
|
|
// UISplitViewController-Extensions.swift
|
|
|
|
// NetNewsWire
|
|
|
|
//
|
|
|
|
// Created by Maurice Parker on 4/18/19.
|
|
|
|
// Copyright © 2019 Ranchero Software. All rights reserved.
|
|
|
|
//
|
2019-04-18 08:33:39 -05:00
|
|
|
|
|
|
|
import UIKit
|
|
|
|
|
|
|
|
extension UISplitViewController {
|
|
|
|
|
2019-07-18 18:49:27 -05:00
|
|
|
static func template() -> UISplitViewController {
|
|
|
|
let splitViewController = UISplitViewController()
|
2019-07-26 16:26:22 -05:00
|
|
|
splitViewController.preferredDisplayMode = .automatic
|
2019-08-23 12:27:45 -05:00
|
|
|
splitViewController.viewControllers = [ThemedNavigationController.template()]
|
2019-07-18 18:49:27 -05:00
|
|
|
return splitViewController
|
|
|
|
}
|
|
|
|
|
2019-04-18 08:33:39 -05:00
|
|
|
}
|