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