mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Implement keyboard shortcut infrastructure and first shortcuts
This commit is contained in:
21
iOS/RootSplitViewController.swift
Normal file
21
iOS/RootSplitViewController.swift
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// RootSplitViewController.swift
|
||||
// NetNewsWire-iOS
|
||||
//
|
||||
// Created by Maurice Parker on 9/4/19.
|
||||
// Copyright © 2019 Ranchero Software. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
class RootSplitViewController: UISplitViewController {
|
||||
|
||||
var coordinator: SceneCoordinator!
|
||||
|
||||
// MARK: Keyboard Shortcuts
|
||||
|
||||
@objc func openInBrowser(_ sender: Any?) {
|
||||
coordinator.showBrowserForCurrentArticle()
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user