title: How does Codable fit in with iOS restoration process?
body: <p>In <code>AppDelegate.swift</code> I have:</p>
  
  <pre><code>func application(_ application: UIApplication, shouldRestoreApplicationState coder: NSCoder) -&gt; Bool {
      return true
  }
  </code></pre>
  
  <p>And iOS will call my <code>encodeRestorableState()</code> &amp; <code>decodeRestorableState()</code> class methods during state restoration.</p>
  
  <p>How does <code>Codable</code> work with respect to state restoration? What does iOS call and how do I tie in my Codable structs and classes?</p>