From 73fc14b58c691744a6010d67d0ad5c87fbefd9e2 Mon Sep 17 00:00:00 2001 From: Tristan <93832702+cheesetan@users.noreply.github.com> Date: Thu, 7 Sep 2023 18:08:19 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 99af591..cbff5e5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ @Persistent is a property wrapper type that can read and write a persisted value saved in FileManager. -## TL;DR +## TLDR @Persistent works with any Codable type, unlike @AppStorage which is limited to a select few types like String, Int, Double etc. @Persistent also provides a lot of the features that @AppStorage does, like default values for persistent variables, and specified names/locations to store the values. It's like a persisted version of @State without the hassles of FileManager, UserDefaults, or CoreData.