NetNewsWire/iOS/UIKit Extensions/UISplitViewController-Exten...

21 lines
498 B
Swift

//
// UISplitViewController-Extensions.swift
// NetNewsWire
//
// Created by Maurice Parker on 4/18/19.
// Copyright © 2019 Ranchero Software. All rights reserved.
//
import UIKit
extension UISplitViewController {
static func template() -> UISplitViewController {
let splitViewController = UISplitViewController()
splitViewController.preferredDisplayMode = .automatic
splitViewController.viewControllers = [ThemedNavigationController.template()]
return splitViewController
}
}