mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-06 12:18:26 +00:00
23 lines
564 B
Swift
23 lines
564 B
Swift
//
|
|
// MarkReadBehavior.swift
|
|
// NetNewsWire
|
|
//
|
|
// Created by Brent Simmons on 12/5/26.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension Notification.Name {
|
|
static let markReadBehaviorDidChange = Notification.Name("MarkReadBehaviorDidChangeNotification")
|
|
}
|
|
|
|
/// When articles are marked read without the user marking them.
|
|
enum MarkReadBehavior: Int, CaseIterable, Codable {
|
|
/// Only when the user marks them read.
|
|
case manual = 0
|
|
/// When selected.
|
|
case selection = 1
|
|
/// When selected, and when scrolled off the top of the timeline.
|
|
case selectionAndScrolledPast = 2
|
|
}
|