NetNewsWire/Shared/AppNotifications.swift

36 lines
978 B
Swift
Raw Normal View History

2017-05-26 22:10:30 +02:00
//
// AppNotifications.swift
2018-08-29 07:18:24 +02:00
// NetNewsWire
2017-05-26 22:10:30 +02:00
//
// Created by Brent Simmons on 8/30/15.
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//
import Foundation
import Articles
2017-05-26 22:10:30 +02:00
extension Notification.Name {
static let InspectableObjectsDidChange = Notification.Name("TimelineSelectionDidChangeNotification")
2017-10-22 00:56:01 +02:00
static let UserDidAddFeed = Notification.Name("UserDidAddFeedNotification")
static let UserDidRequestSidebarSelection = Notification.Name("UserDidRequestSidebarSelectionNotification")
#if !MAC_APP_STORE
static let WebInspectorEnabledDidChange = Notification.Name("WebInspectorEnabledDidChange")
#endif
2017-05-26 22:10:30 +02:00
}
2017-09-24 21:24:44 +02:00
typealias UserInfoDictionary = [AnyHashable: Any]
struct UserInfoKey {
2017-09-24 21:24:44 +02:00
static let view = "view"
static let article = "article"
static let articles = "articles"
static let navigationKeyPressed = "navigationKeyPressed"
static let objects = "objects"
static let feed = "feed"
static let url = "url"
static let author = "author"
2017-09-24 21:24:44 +02:00
}
2017-05-26 22:10:30 +02:00