mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-30 02:34:55 +01:00
44 lines
1.0 KiB
Swift
44 lines
1.0 KiB
Swift
//
|
|
// AppConstants.swift
|
|
// Evergreen
|
|
//
|
|
// Created by Brent Simmons on 8/30/15.
|
|
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
let appName = "Evergreen"
|
|
|
|
extension Notification.Name {
|
|
|
|
static let SidebarSelectionDidChange = Notification.Name("SidebarSelectionDidChangeNotification")
|
|
static let TimelineSelectionDidChange = Notification.Name("TimelineSelectionDidChangeNotification")
|
|
|
|
static let AppNavigationKeyPressed = Notification.Name("AppNavigationKeyPressedNotification")
|
|
}
|
|
|
|
struct AppUserInfoKey {
|
|
|
|
static let view = "view"
|
|
static let node = "node"
|
|
static let objects = "objects"
|
|
static let article = "article"
|
|
static let articles = "articles"
|
|
static let articleStatus = "status"
|
|
static let appNavigation = "key"
|
|
}
|
|
|
|
struct AppDefaultsKey {
|
|
|
|
static let firstRunDate = "firstRunDate"
|
|
|
|
static let sidebarFontSize = "sidebarFontSize"
|
|
static let timelineFontSize = "timelineFontSize"
|
|
static let detailFontSize = "detailFontSize"
|
|
|
|
static let openInBrowserInBackground = "openInBrowserInBackground"
|
|
}
|
|
|
|
|