title: SwiftUI: What is @AppStorage property wrapper
body: <p>I used to save important App data like login credentials into UserDefaults using the following statement:</p>
  <pre><code>UserDefaults.standard.set(&quot;sample@email.com&quot;, forKey: &quot;emailAddress&quot;)
  </code></pre>
  <p>Now, I have come to know SwiftUI has introduced new property wrapper called:</p>
  <blockquote>
  <p>@AppStorage</p>
  </blockquote>
  <p>Could anyone please explain how the new feature works?</p>