2017-05-23 22:14:30 +02:00
|
|
|
//
|
|
|
|
// Notifications.swift
|
|
|
|
// DataModel
|
|
|
|
//
|
|
|
|
// Created by Brent Simmons on 9/10/16.
|
|
|
|
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
public extension Notification.Name {
|
|
|
|
|
|
|
|
public static let ArticleStatusesDidChange = Notification.Name(rawValue: "ArticleStatusesDidChange")
|
2017-09-17 00:25:38 +02:00
|
|
|
public static let UnreadCountDidChange = Notification.Name(rawValue: "UnreadCountDidChange")
|
|
|
|
public static let DataModelDidPerformBatchUpdates = Notification.Name(rawValue: "DataModelDidPerformBatchUpdates")
|
|
|
|
public static let AccountRefreshProgressDidChange = Notification.Name(rawValue: "AccountRefreshProgressDidChange")
|
2017-05-23 22:14:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public let articlesKey = "articles"
|
|
|
|
public let unreadCountKey = "unreadCount"
|
|
|
|
public let progressKey = "progress" //RSProgress
|