Files
NetNewsWire/Evergreen/MainWindow/Timeline/Keyboard/TimelineKeyboardDelegate.swift
2017-12-20 12:59:31 -08:00

27 lines
599 B
Swift
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// TimelineKeyboardDelegate.swift
// Evergreen
//
// Created by Brent Simmons on 12/19/17.
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import RSCore
// Doesnt have any shortcuts of its own  theyre all in MainWindowKeyboardHandler.
@objc final class TimelineKeyboardDelegate: NSObject, KeyboardDelegate {
@IBOutlet weak var timelineViewController: TimelineViewController?
override init() {
super.init()
}
func keydown(_ event: NSEvent, in view: NSView) -> Bool {
return MainWindowKeyboardHandler.shared.keydown(event, in: view)
}
}