Porting @AppStorage to iOS 13

The SwiftUI AppStorage property wrapper, available in iOS 14, is a type that reflects a value from UserDefaults and invalidates a view when the value changes. In this post, Xavier Lowmiller builds his version of AppStorage, creating a new type that provides the same functionality and can be used in iOS 13.