struct State { @Shared(.inMemory(“text")) var text: String ɹ @Shared(.appStorage(“count”)) var count: Int } "OZ)BTIBCMF 3FGFSFODF JO.FNPSZ lUFYUz BQQ4UPSFHF lDPVOUz ࢀরڞ༗ LockIsolated<[AnyHashable: any Reference]> class ValueReference: Reference { var persistenceKey : (any PersistenceKey<Value>)? … } 0CTFSWBUJPO QFSDFQUJPO ˏPropertyWrapper struct Shared<Value> { let reference: any Reference public init( _ persistenceKey: some PersistenceKey<Value>, … ) { … @Dependency( PersistentReferencesKey.self ) var references … } … 5IF$PNQPTBCMF"SDIJUFDUVSF TIBSFETUBUFCFUB struct InMemoryKey<Value>: PersistenceKey 1FSTJTUFODF,FZ४ڌࡾॐ࢜Λ࿈Ε͖ͯͨΑ struct AppStorageKey<Value>: PersistenceKey struct FileStorageKey<Value>: PersistenceKey protocol PersistenceKey<Value> { func load(…) -> Value? func save(_ value: Value) func subscribe( … ) }