From 434b495ffd11c4e9584394ba25279ff88b5bcd8e Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 16 Dec 2023 09:32:17 -0600 Subject: [PATCH] Change Mac state preservation to be NSSecureCoding compliant --- Mac/MainWindow/Detail/DetailWindowState.swift | 9 +++++++++ Mac/MainWindow/MainWindowState.swift | 9 +++++++++ Mac/MainWindow/Sidebar/SidebarWindowState.swift | 9 +++++++++ Mac/MainWindow/Timeline/TimelineWindowState.swift | 9 +++++++++ 4 files changed, 36 insertions(+) create mode 100644 Mac/MainWindow/Detail/DetailWindowState.swift create mode 100644 Mac/MainWindow/MainWindowState.swift create mode 100644 Mac/MainWindow/Sidebar/SidebarWindowState.swift create mode 100644 Mac/MainWindow/Timeline/TimelineWindowState.swift diff --git a/Mac/MainWindow/Detail/DetailWindowState.swift b/Mac/MainWindow/Detail/DetailWindowState.swift new file mode 100644 index 000000000..9f4aced10 --- /dev/null +++ b/Mac/MainWindow/Detail/DetailWindowState.swift @@ -0,0 +1,9 @@ +// +// DetailWindowState.swift +// NetNewsWire +// +// Created by Maurice Parker on 12/16/23. +// Copyright © 2023 Ranchero Software. All rights reserved. +// + +import Foundation diff --git a/Mac/MainWindow/MainWindowState.swift b/Mac/MainWindow/MainWindowState.swift new file mode 100644 index 000000000..2954204aa --- /dev/null +++ b/Mac/MainWindow/MainWindowState.swift @@ -0,0 +1,9 @@ +// +// MainWindowState.swift +// NetNewsWire +// +// Created by Maurice Parker on 12/16/23. +// Copyright © 2023 Ranchero Software. All rights reserved. +// + +import Foundation diff --git a/Mac/MainWindow/Sidebar/SidebarWindowState.swift b/Mac/MainWindow/Sidebar/SidebarWindowState.swift new file mode 100644 index 000000000..ddae52394 --- /dev/null +++ b/Mac/MainWindow/Sidebar/SidebarWindowState.swift @@ -0,0 +1,9 @@ +// +// SidebarWindowState.swift +// NetNewsWire +// +// Created by Maurice Parker on 12/16/23. +// Copyright © 2023 Ranchero Software. All rights reserved. +// + +import Foundation diff --git a/Mac/MainWindow/Timeline/TimelineWindowState.swift b/Mac/MainWindow/Timeline/TimelineWindowState.swift new file mode 100644 index 000000000..18e61b7cd --- /dev/null +++ b/Mac/MainWindow/Timeline/TimelineWindowState.swift @@ -0,0 +1,9 @@ +// +// TimelineWindowState.swift +// NetNewsWire +// +// Created by Maurice Parker on 12/16/23. +// Copyright © 2023 Ranchero Software. All rights reserved. +// + +import Foundation