This directory contains code from Point-Free Episode: Tour of Sharing: App Storage, Part 2
We show how the
@Shared
property wrapper, unlike@AppStorage
, can be used anywhere, not just SwiftUI views. And we show how@Shared
has some extra bells and whistles that make it easier to write maintainable Xcode previews and avoid potential bugs around “string-ly” typed keys and default values.
0306-sharing-pt2
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||