From 89af2d7ba8e729d1e09954a06c6aa82db2fa6b3b Mon Sep 17 00:00:00 2001 From: Leif Date: Thu, 10 Oct 2024 17:00:52 -0600 Subject: [PATCH] Add new lines --- .../Application/Types/State/Application+SyncState.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/AppState/Application/Types/State/Application+SyncState.swift b/Sources/AppState/Application/Types/State/Application+SyncState.swift index a0f28fe..7c5d44c 100644 --- a/Sources/AppState/Application/Types/State/Application+SyncState.swift +++ b/Sources/AppState/Application/Types/State/Application+SyncState.swift @@ -9,9 +9,11 @@ extension Application { public func data(forKey key: String) -> Data? { NSUbiquitousKeyValueStore.default.data(forKey: key) } + public func set(_ value: Data?, forKey key: String) { NSUbiquitousKeyValueStore.default.set(value, forKey: key) } + public func removeObject(forKey key: String) { NSUbiquitousKeyValueStore.default.removeObject(forKey: key) }