2017-05-26 13:10:30 -07:00
|
|
|
//
|
2017-09-23 12:00:07 -07:00
|
|
|
// AppNotifications.swift
|
2018-08-28 22:18:24 -07:00
|
|
|
// NetNewsWire
|
2017-05-26 13:10:30 -07:00
|
|
|
//
|
|
|
|
// Created by Brent Simmons on 8/30/15.
|
|
|
|
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2019-04-15 15:03:05 -05:00
|
|
|
import Foundation
|
2018-07-23 18:29:08 -07:00
|
|
|
import Articles
|
2017-05-26 13:10:30 -07:00
|
|
|
|
|
|
|
extension Notification.Name {
|
2019-02-17 18:46:28 -08:00
|
|
|
static let InspectableObjectsDidChange = Notification.Name("TimelineSelectionDidChangeNotification")
|
2017-10-21 15:56:01 -07:00
|
|
|
static let UserDidAddFeed = Notification.Name("UserDidAddFeedNotification")
|
2018-09-25 19:20:43 -05:00
|
|
|
static let UserDidRequestSidebarSelection = Notification.Name("UserDidRequestSidebarSelectionNotification")
|
2019-09-19 10:38:17 -05:00
|
|
|
|
|
|
|
#if !MAC_APP_STORE
|
|
|
|
static let WebInspectorEnabledDidChange = Notification.Name("WebInspectorEnabledDidChange")
|
|
|
|
#endif
|
2017-05-26 13:10:30 -07:00
|
|
|
}
|
|
|
|
|
2017-09-24 12:24:44 -07:00
|
|
|
typealias UserInfoDictionary = [AnyHashable: Any]
|
|
|
|
|
2017-12-18 12:34:07 -08:00
|
|
|
struct UserInfoKey {
|
2017-09-24 12:24:44 -07:00
|
|
|
|
2017-12-18 12:34:07 -08: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"
|
2018-01-04 21:20:09 -08:00
|
|
|
static let author = "author"
|
2017-09-24 12:24:44 -07:00
|
|
|
}
|
2017-05-26 13:10:30 -07:00
|
|
|
|