//
//  SettingsSplitViewController.swift
//  pass
//
//  Created by Mingshen Sun on 6/21/17.
//  Copyright © 2017 Bob Sun. All rights reserved.
//

import UIKit

class SettingsSplitViewController: UISplitViewController, UISplitViewControllerDelegate {
    override func viewDidLoad() {
        super.viewDidLoad()
        delegate = self
        preferredDisplayMode = .allVisible
    }

    func splitViewController(
        _: UISplitViewController,
        collapseSecondary _: UIViewController,
        onto _: UIViewController
    ) -> Bool {
        // Return true to prevent UIKit from applying its default behavior
        true
    }
}
