NetNewsWire/iOS/UIKit Extensions/UISplitViewController-Extensions.swift
2019-09-11 16:58:55 -05:00

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
}
}